Skip to content
This repository was archived by the owner on Dec 19, 2017. It is now read-only.
This repository was archived by the owner on Dec 19, 2017. It is now read-only.

paper-input-decorator not updating validity as you type #178

@Andersmholmgren

Description

@Andersmholmgren

According to the doco it appears that validity should be updated as you type. The following example only updates validity once the field loses focus

      <paper-input-decorator id="usernameDec" label="Username"
          error="Must enter a username!"
          isInvalid="{{!$['username'].validity.valid}}" floatingLabel flex>
        <input id="username" is="core-input"
          value="{{username}}"
          required autofocus>
      </paper-input-decorator>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions