Locked option for text input

Sometimes I don't want the text box hidden and I don't want the styling that comes with being disabled, but I still don't want the user to be able to edit the value.

So a Locked or Editing Disabled option would be helpful.

Hey @bradlymathews! We'll be adding a "read only" option to the new inputs components soon!

1 Like

We're currently rolling out the new "read only" setting on many of our inputs! Read only inputs are focusable and selectable but cannot be modified — they look the same as normal inputs.

Read only

1 Like

Just in time! Thanks!

I'm needing this for the JSON editor component.

Hi @rdsedmundo Thanks for reaching out! I'll submit a feature request for this :blush:

It would be nice to be able to have the option to setReadOnly similar to setValue/setDisabled/setHidden.

that way we can manipulate the read-only and unlock it if a certain condition is met.

1 Like