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.
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!
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.
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
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.