Skip to content

Feature request: allow put own attributes on the resultant input. #290

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

Open
maxalmonte14 opened this issue Aug 16, 2017 · 2 comments
Open

Comments

@maxalmonte14
Copy link

I'm using this great plugin in my project, the issue appears when I try to validate the vue-select for not allow send a form with the vue-select empty, was not possible, because I tried to put some attributes in the vue-select but when renders that attributes are into the resultant div, not the input. I think would be a great feature allow custom attributes on the component because that way developers will can validate the vue-select, add classes and styles, use data attributes for some tricky reason, etc.

Thanks for the great job!

@sagalbot
Copy link
Owner

Agreed, this is important for accessibility and validation as well. If you need validation support, I have an example here:

https://codepen.io/sagalbot/pen/zZQJKW?editors=1100

@sagalbot
Copy link
Owner

sagalbot commented May 3, 2019

#762

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