Problem submiting form when i use auto fill inputs
Describe the bug There is an issue when the user uses autofill in forms. If there is validation, it does not validate and gives an error upon submission. Possibly, there are no values in the inputs when autofill is used.
To Reproduce Steps to reproduce the behavior:
- create a form
- open the form
- use the auto fill inputs
- error submiting form
Expected behavior send form when i use the auto fill browser function
Screenshots
GLPI / Plugins (please complete the following information):
- GLPI version GLPI 10.0.17-dev
Desktop (please complete the following information):
- OS: windows 11
- Browser edge
- Version 129.0.2792.52 (Official build) (64-bit
Additional context Add any other context about the problem here.
Hi
Data validation is implemented server side only. This is normal to get the error at form submission.
There is minor exceptions when HTML implements constraints like a range of values for a number or a text length.
In such case, the browser is responsible of the limitation and it is double checked serer side at form submission.