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

Label tag, for attribute. #6548

Open
ItsDevMonk opened this issue Apr 19, 2020 · 1 comment
Open

Label tag, for attribute. #6548

ItsDevMonk opened this issue Apr 19, 2020 · 1 comment

Comments

@ItsDevMonk
Copy link

For the label tag, you didn't mention label for attribute incase of the SELECT tag. is that not necessary? or if it is necessary, do I need to mention in my code? if I mention, will it cause any issue?

@doughballs
Copy link

@smartnava this is a good question - Materialize actually hides the native select element and replaces it with a dropdown and and a text input. So i think in this case, you do not need to use the for attribute, although using it shouldn't have any effect.

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