Project

General

Profile

Is there any option in custom fields to make them read only in the form

Added by Sanooj M about 5 years ago

I have some custom fields in issue creation form which are having pre-filled data and I don't want anyone to change them.

Actually it should show like a disabled input field with default value. My intention is to inform the user , this is the value of this field but don't want to allow them to edit that value. Is there any option for that in any version of redmine ?

Please help me


Replies (6)

RE: Is there any option in custom fields to make them read only in the form - Added by Wisnu Widiarta about 5 years ago

Yes, I'm having the same issue as well.

I'm importing issues with n fields, and some of them need to be read only.

RE: Is there any option in custom fields to make them read only in the form - Added by Bernhard Rohloff about 5 years ago

You can set the permissions (read-only, required) of a field in the workflow settings in the administrator section.

RE: Is there any option in custom fields to make them read only in the form - Added by Sanooj M about 5 years ago

Bernhard Ganslmeier Rohloff - This is only for defining the custom field's attribute in the application among internal users. This read-only is not applicable in HTML form.

RE: Is there any option in custom fields to make them read only in the form - Added by Bernhard Rohloff about 5 years ago

Sanooj M wrote:

Bernhard Ganslmeier Rohloff - This is only for defining the custom field's attribute in the application among internal users. This read-only is not applicable in HTML form.

The field doesn't show up in the form because you must not change it in the current state.
If you mean it to be read-only as a kind of a plain text for a hint or other information in the form than, to my knowledge, there isn't any solution for that, yet.

RE: Is there any option in custom fields to make them read only in the form - Added by Sanooj M about 5 years ago

Yes. I did some other way.
Another issue is we are not getting Description of a custom field via rest API. I wish if we get description we can have some metadata in description of a custom field.

RE: Is there any option in custom fields to make them read only in the form - Added by Wisnu Widiarta about 5 years ago

Bernhard Rohloff wrote:

You can set the permissions (read-only, required) of a field in the workflow settings in the administrator section.

Thank you, this works for me.

    (1-6/6)