@
@
@Richswitch2017-09-25 13:32:18
JavaScript
@Richswitch, 2017-09-25 13:32:18

How to get boolean value of auto-validate attribute in Polymer?

Hey!
There is a paper-input to which the attribute is added auto-validate. I want to get booleanthe value of the attribute of the auto-validatecomponent <paper-input>after its execution.

<paper-input type="text" id="logSgn" name="login" label="username" error-message="Please, enter your name!" required auto-validate pattern="[a-zA-Z]*" autocorrect>
</paper-input>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vix, 2017-09-26
_

document.querySelector('#logSgn').autoValidate

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question