sn-client
sn-client copied to clipboard
Display fields in read-only mode on Edit page
There are cases when a field is not read-only, because it needs to be modified (usually by an internal logic) but we do not want the user to be able to edit it - but still want to display it. For example show the Email
of the user on the Edit page in read-only mode.
New CTD setting value for visibility
Currently there is only two main modes for each view: Show
and Hide
. Add a new option: ShowReadOnly
<Configuration>
<VisibleBrowse>Show</VisibleBrowse>
<VisibleEdit>ShowReadOnly</VisibleEdit>
</Configuration>
In this case the field should be displayed in read-only mode on the Edit page.
elég ennyi
<VisibleEdit>ReadyOnly</VisibleEdit>