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

HTML5 "required" attribute as prop #280

Open
Shamus03 opened this issue Dec 12, 2019 · 1 comment
Open

HTML5 "required" attribute as prop #280

Shamus03 opened this issue Dec 12, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Shamus03
Copy link

Issue #190 explains a workaround by using input-el-custom-attributes. I think required is simple/common enough that it deserves its own prop. Thoughts?

Proposed usage:

<CoolSelect required />

Versus the current:

<CoolSelect input-el-custom-attributes="{required:true}" />
@iliyaZelenko iliyaZelenko added the enhancement New feature or request label Dec 13, 2019
@iliyaZelenko iliyaZelenko self-assigned this Dec 13, 2019
@iliyaZelenko
Copy link
Owner

Good idea, I will do as time goes on.

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

No branches or pull requests

2 participants