Skip to content

Display fields in read-only mode on Edit page #1576

@tusmester

Description

@tusmester

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions