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

Add ability to add id to the input element #129

Merged
merged 2 commits into from
Mar 23, 2017
Merged

Conversation

mgmeiner
Copy link
Contributor

Hey,

made this small PR to add the ability to set the id of the input element. I needed this to focus the vue-select component via labels.

Example:

<label for="selectCountry">Country:</label>
<vue-select input-id="selectCountry" />

@sagalbot
Copy link
Owner

@sagalbot sagalbot merged commit 0e73e36 into sagalbot:master Mar 23, 2017
@sagalbot
Copy link
Owner

Awesome, thanks!

@sagalbot sagalbot added this to the v2.3.0 milestone Apr 24, 2017
@boycce
Copy link

boycce commented Jun 11, 2020

Maybe we should add this into the docs?

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

Successfully merging this pull request may close these issues.

None yet

4 participants