# Be able to copy text from READONLY Input

**URL:** <https://community.hubspot.com/t/be-able-to-copy-text-from-readonly-input/126262>\
**Category:** CMS Development\
**Tags:** enterprise\
**Created:** [February 17, 2025, 11:19pm UTC](https://community.hubspot.com/t/be-able-to-copy-text-from-readonly-input/126262 "2025-02-17T23:19:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GLopez13](https://avatars.discourse-cdn.com/v4/letter/g/d78d45/32.png) [@GLopez13](https://community.hubspot.com/u/GLopez13)\
**Post date:** [February 17, 2025, 11:19pm UTC](https://community.hubspot.com/t/be-able-to-copy-text-from-readonly-input/126262/1 "2025-02-17T23:19:57Z")

</div>

Hello team,  
Currently I am using an Input element ([Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/reference/ui-components/standard-components/input)) with the readonly property set as ‘true’ to display data in a private app. The ‘problem’ I am facing is I can NOT copy the text displayed in those Inputs.  
So I would like to ask you if you know if there is a way to be able to copy the displayed text?  
HINT: I cannot allow the user to “edit” those INPUTs.  
Thank you very much in advance!  
Regards,  
Gabriel

---

<div class="post-metadata">

**Author:** ![kennedyp](https://avatars.discourse-cdn.com/v4/letter/k/49beb7/32.png) [@kennedyp](https://community.hubspot.com/u/kennedyp)\
**Post date:** [February 18, 2025, 7:15pm UTC](https://community.hubspot.com/t/be-able-to-copy-text-from-readonly-input/126262/2 "2025-02-18T19:15:20Z")

</div>

Hi @GLopez13! Welcome to the Community-- happy to have you here 😊

I want to invite some subject matter experts to see if they have any suggestions.

Hey @evaldas, @BarryGrennan, @GRajput do you have any thoughts on this?

---

<div class="post-metadata">

**Author:** ![evaldas](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/evaldas/32/69160_2.png) [@evaldas](https://community.hubspot.com/u/evaldas)\
**Post date:** [February 19, 2025, 2:49am UTC](https://community.hubspot.com/t/be-able-to-copy-text-from-readonly-input/126262/3 "2025-02-19T02:49:29Z")

</div>

Hi @GLopez13,

That should be possible by default. Confirming that I am able to create a read-only input field, which allows me to copy the value from that field.

Example in Chrome, where I select the text from the read-only input and right-click to copy:

 ![evaldas_0-1739933149248.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/a/2a283d52672530c87e43ec6c9647cdca6e0ae539.png)

The code used here is:

```lia-code-sample
<Input
 label="Sample Field"
 name="samplefield"
 value="This is a Read-Only value"
 readOnly 
/>

```

Hope this helps!
