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

Support label on Input and Select #129

Closed
thismatters opened this issue Dec 23, 2019 · 1 comment
Closed

Support label on Input and Select #129

thismatters opened this issue Dec 23, 2019 · 1 comment
Labels

Comments

@thismatters
Copy link

thismatters commented Dec 23, 2019

Describe the solution you'd like
For a label element to be automatically created (within the div) when specified; the value for the parameter label should be used as the label proper. (reuse the name as id for the input; and referenced by the label)

Describe alternatives you've considered
I've tried creating label elements alongside the Input; however due to the wrapping div the label is not adjacent to the input element. Moreover since the created input lacks an id the label is contextually useless. Using placeholder is acceptable for text inputs, however a label is still needed for Select.

@mdauner
Copy link
Owner

mdauner commented Feb 26, 2020

🎉 This issue has been resolved in version 1.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

No branches or pull requests

2 participants