Hi All:
I am trying to use the autoValidate property on the paper-input-decorator
elements.
Even in the demo page, at :
paper-input/demo.html
I am seeing a bug when the page loads the "invalid" class is being added to
the paper-input-decorator element instead of triggering when a user exits
the field. Therefore the error styling shows when the page loads.
Does anyone know how to make this work where its not being validated until
the user exits the field?
<paper-input-decorator label="Number" floatingLabel error="input is
required!" autoValidate>
<input is="core-input" pattern="[0-9]">
</paper-input-decorator>
Thanks,
David
Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/ef951a32-1b52-4360-9bae-94fc3b999bf8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.