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

MdSelect. Non-unique id #2000

Closed
hastom opened this issue Jan 23, 2019 · 0 comments · Fixed by #2001
Closed

MdSelect. Non-unique id #2000

hastom opened this issue Jan 23, 2019 · 0 comments · Fixed by #2001
Labels

Comments

@hastom
Copy link
Contributor

hastom commented Jan 23, 2019

Steps to reproduce

Put <md-select> with any id inside <form> with <md-input type=password/>

Which browser?

Os: Windos 10
Browser: Chrome 71
Vue: latest
Vue material: latest

What is expected?

No error in console

What is actually happening?

Error in console [DOM] Found 2 elements with non-unique id ...
It's not only about anoying error. Having 2 elements with same id is just bad because it breaks HTML guidelines https://www.chromium.org/developers/design-documents/create-amazing-password-forms

Reproduction Link

Source https://codesandbox.io/s/8x5pqwv8kl
Compiled https://8x5pqwv8kl.codesandbox.io/

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

Successfully merging a pull request may close this issue.

2 participants