Skip to content

Validation seems to work wrong with '9999' pattern #14

@MTschannett

Description

@MTschannett

Hi,

i found a issue, when using a pattern like '9999'.

First my object with pattern:
string-mask

Now it has following behaviors, which i think aren't correct:
string-mask number plus letters
Here we have one number and a few letters, which validate to true. But it should only be true if we have numbers.

string-mask only letters
It is even true, when only text is entered, but it we want a pattern of optional numbers. So it should be false because we have text.

string mask correct
If only numbers are submitted it works correctly.

string mask cut away
If we process a string only value, it strips them away, which is a good behaivior in a way, but it would be nice to have a correct validation behavior.

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