Skip to content
This repository was archived by the owner on Jul 1, 2020. It is now read-only.
This repository was archived by the owner on Jul 1, 2020. It is now read-only.

Form becomes valid after tabbing out of fields #3

@PranavChikodi

Description

@PranavChikodi
  1. Have only two fields in the web page
  2. add validation attribute to the fields
  3. even if fields are marked with required in validation attribute after tabbing out of the fields, form gets validated i.e., 'Save/Submit' button gets enabled

I debugged it found that 'regex.test(value);' will return true for undefined value, it converts
undefined to a string value and then checks with regular expression

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions