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

Problem submiting form when i use auto fill inputs #3541

Open
jorge-teixeira opened this issue Sep 27, 2024 · 1 comment
Open

Problem submiting form when i use auto fill inputs #3541

jorge-teixeira opened this issue Sep 27, 2024 · 1 comment

Comments

@jorge-teixeira
Copy link

jorge-teixeira commented Sep 27, 2024

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:

  1. create a form
  2. open the form
  3. use the auto fill inputs
  4. error submiting form

Expected behavior
send form when i use the auto fill browser function

Screenshots

GLPI / Plugins (please complete the following information):

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.

@jorge-teixeira jorge-teixeira changed the title Problem validating form when i use auto fill inputs Problem submiting form when i use auto fill inputs Sep 27, 2024
@btry
Copy link
Collaborator

btry commented Sep 27, 2024

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.

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

No branches or pull requests

2 participants