Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow empty values to pass regex validation #241

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 26, 2016

  1. Allow empty values to pass regex validation

    In regex validators (such as number) when the value is undefined (or null) the validator should return success, to comply with the html5 number input.
    
    Since this is a breaking change, it will be enabled only using an opt-in flag called "allowEmptyValues".
    liorcode committed Sep 26, 2016
    Configuration menu
    Copy the full SHA
    33a43fd View commit details
    Browse the repository at this point in the history