Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tusmester opened this issue Nov 13, 2023 · 1 comment
Open

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

tusmester opened this issue Nov 13, 2023 · 1 comment

Comments

@tusmester
Copy link
Member

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.

@VargaJoe
Copy link
Contributor

VargaJoe commented Aug 13, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants