Skip to content

GLPI 11 : customs assets, it's possible to update a read-only field #21046

@flegastelois

Description

@flegastelois

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

Version

11.0/bugfixes

Bug description

I set a field to read-only in my asset definition.

Image

In the interface, I can select the field, but the input is disabled.

Image

However, by modifying the DOM (by removing readonly=""), the field becomes editable again, and saving the form correctly records the change.

Image

Value changed:

Image

Metadata

Metadata

Assignees

Type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions