Code of Conduct
Is there an existing issue for this?
GLPI Version
11.0.8
Plugin version
1.24.4
Bug description
Hi,
I think I may have found an issue with mandatory fields and container visibility conditions.
Environment:
- GLPI: 11.0.8
- Fields plugin: 1.24.4
Configuration:
- A Fields container is attached to Tickets.
- The container is displayed only when:
- Ticket type = Request
- Category = Visitor Access
- Several fields inside the container are marked as "Required".
Observed behavior:
- Create a new ticket.
- Select a ticket type or category that does not match the display conditions.
- The container is correctly hidden.
- Save the ticket.
- The ticket cannot be saved because the required fields inside the hidden container are considered empty.
Expected behavior:
When a container is hidden by its conditions, required fields inside that container should not be validated.
Alternatively, mandatory validation should only apply when the container is visible.
Additional information:
- If I remove the "Required" flag from the fields, the ticket is saved correctly.
- The issue is reproducible with a single required field in the container.
Could you please confirm whether this is expected behavior, a limitation, or a bug?
Thank you.
Relevant log output
Page URL
No response
Steps To reproduce
No response
Your GLPI setup information
No response
Anything else?
No response
Code of Conduct
Is there an existing issue for this?
GLPI Version
11.0.8
Plugin version
1.24.4
Bug description
Hi,
I think I may have found an issue with mandatory fields and container visibility conditions.
Environment:
Configuration:
Observed behavior:
Expected behavior:
When a container is hidden by its conditions, required fields inside that container should not be validated.
Alternatively, mandatory validation should only apply when the container is visible.
Additional information:
Could you please confirm whether this is expected behavior, a limitation, or a bug?
Thank you.
Relevant log output
Page URL
No response
Steps To reproduce
No response
Your GLPI setup information
No response
Anything else?
No response