Skip to content

Any plans for a validation hook? #5

Open
@Codelica

Description

Is your feature request related to a problem? Please describe.
Validation is often necessary, would be nice to offer a hook to keep things clean

Describe the solution you'd like
Perhaps a "validate" option that accepts a regex expression & warning message, or a function that returns true/false and warning message to allow for validation. Better yet "validate" could accept an array of these, such that specific checks could be isolated (less than 8 chars, all lowercase, etc)

Additional context
N/A

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions