sn-client icon indicating copy to clipboard operation
sn-client copied to clipboard

Display fields in read-only mode on Edit page

Open tusmester opened this issue 1 year ago • 1 comments

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.

tusmester avatar Nov 13 '23 13:11 tusmester

elég ennyi <VisibleEdit>ReadyOnly</VisibleEdit>

VargaJoe avatar Aug 13 '24 12:08 VargaJoe