thanks for the help ... but with your answers i guess there isn't the
concept of a read-only mode for elements

Sure there is - just not for every component. We support this in ListView, TableView, TreeView, and TextArea - what other components do you think might benefit from such a feature?

For this I'm also looking at the read only property of (some) HTML
Form elements ... and at least for some basic elements could be
useful, like Text Inputs, etc ...

What is the use case for making a TextInput read-only, but not providing a visual cue to the user that it is read-only (i.e. disabling it)?

For a user point of view, disabled means "Not available" , "Not
applicable", etc, while read-only it's another thing ... and in this
case for example Substance has optional markers to decorate the
related fields, making more evident to the user that he/she can't
modify the value, but can use it like expand it (think at a Combo box)
etc, while maybe some background logic in the application could update
its values.

What do you (and others) say ?


I think you would need to articulate the use cases for a "read-only but not disabled" state in any components that don't currently support this.

Reply via email to