Skip to content

RequireIf RegEx is lost when dependant property is number #11

Description

@Bubleguy

To reproduce : Declare Field1 is required when Field2 match the following regular expression
^[a-zA-Z0-9]{0,10}$

See the debug progress in latest Chromeversion :

image

As he detect "value1" as numeric, value2 will be NaN just few line below.

image

You should not apply all these override logics if "operator" is RexMatch/NotRegExMatch

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions