Skip to content

[TextField]: Password validations #71

@ghost

Description

Is there an existing issue for this?

  • I have searched the existing issues

Package/Plugin version

9.1.1

What you'd like to happen

I would love to have some more validators for password validations.
- alphanumeric
- alphanumeric with symbols
- alphanumeric with symbols + 1 capital letter

If this becomes too redundant, we can also look at it from another perspective (what it should have)

FormBuilderValidators.shouldHaveAlphabets(atLeast: 1)
FormBuilderValidators.shouldHaveNumbers(atLeast: 1)
FormBuilderValidators.shouldHaveSymbols(atLeast: 1)

Note: I used "atLeast" instead of "min" for better understanding the use of that param.

Alternatives you've considered

I know we can have custom validations, but it becomes readable if we can dive into the form builder ecosystem thoroughly by just seeing existing list validators, instead of seeing list of custom validators.

Aditional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions