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

Multiple form field elements in the same form have the same id attribute value. This might prevent the browser from correctly autofilling the form #288

Open
olekstomek opened this issue Apr 30, 2024 · 0 comments

Comments

@olekstomek
Copy link
Contributor

In the console of my we browser for https://wificard.io/ website I see message:

Duplicate form field id in the same form
Multiple form field elements in the same form have the same id attribute value. This might prevent the browser from correctly autofilling the form.
To fix this issue, use unique id attribute values for each form field.

It is about input for WiFi network name (selector #ssid) and input for password (selector #password).
This doesn't seem to be a serious problem until we change the additional cards to print (selector #TextInputField-2) field to a larger value, say 99 or set big value like 999. Then web browser (and website) has lags and it is possible not response:
not responding

The problem is because number of elements in the same form have the same id attribute value.

I think this is related to #275

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

1 participant