Yes I wanted to use autoValidate to handle inline onblur validation.
On Wed, Jun 17, 2015 at 8:52 AM, Robert Simon <[email protected]> wrote: > Hello, > > Seems that you want to disable autovalidation and trigger it manually on > onBlur event same way as "validate" button was doing it in example ? > > > On Tuesday, June 16, 2015 at 5:42:20 PM UTC+2, [email protected] wrote: >> >> 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/CAC-cAEa48tFE0wVdghHgdn0swZxw_W9V6LkcJmuONiGB_7ROzA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
