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

allow to focus the input using a <label> tag #72

Closed
lionelB opened this issue Dec 21, 2021 · 2 comments
Closed

allow to focus the input using a <label> tag #72

lionelB opened this issue Dec 21, 2021 · 2 comments

Comments

@lionelB
Copy link
Contributor

lionelB commented Dec 21, 2021

Hello

svelecte don't support id props which could be useful for focusing a input using its label (like other html input)
Would you accept a PR ?

@mskocik
Copy link
Owner

mskocik commented Dec 21, 2021

Would you accept a PR ?

Of course! Please name that prop inputId so it will be clear what is it for.
And add it to Readme and ideally also to docs HTML file

@lionelB
Copy link
Contributor Author

lionelB commented Dec 21, 2021

I update my PR

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

No branches or pull requests

2 participants