Skip to content

Validation strings with leading or trailing whitespace #140

Closed
@ghost

Description

Strings with leading or trailing whitespace are pass validation.
Such behavior is present on all inputs. Even on input with custom regexp, for example, data-validation-regexp="^(\w+)$".
This is your demo:
demo
And this is my input with data-validation="custom" data-validation-regexp="^(\w+)$":
customregexp

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions