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

<paper-input-decorator label="test" autoValidate?="{{autoValidate}}"> #1249

Closed
gertcuykens opened this issue Mar 3, 2015 · 1 comment
Closed

Comments

@gertcuykens
Copy link

<paper-input-decorator label="Firstname" autoValidate?="{{autoValidate}}">
       <core-localstorage name="firstname" value="{{firstname}}"></core-localstorage>
       <input name="firstname" value="{{firstname}}" is="core-input" required>
</paper-input-decorator>

On submit I do this

this.autoValidate=true
if (this.$.myfrm.checkValidity()) this.$.myfrm.submit();

But autoValidate?="{{autoValidate}} does not work? It does work when for example use hidden?="{{autoValidate}} instead of autoValidate

@gertcuykens
Copy link
Author

Nevermind I found more information how to do this in the documentation of paper-input-decorator

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

No branches or pull requests

1 participant