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

custom validator and other validators #53

Open
Mipme opened this issue Oct 6, 2015 · 0 comments
Open

custom validator and other validators #53

Mipme opened this issue Oct 6, 2015 · 0 comments

Comments

@Mipme
Copy link

Mipme commented Oct 6, 2015

At the moment it seems not possible to have a custom validator and other validators like minlength and maxlength; It's also not possible to chain multiple validators.

Example:
<iron-input minlength="5" validator="slugOrEmailValidator"></iron-input>

The custom validator is triggered, but the minlength is not checked.
For the other case it would be feasable to set an Array as the validator attribute.

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