Skip to content

Feat/add is username validator#2651

Closed
Moses-Bassey wants to merge 2 commits intotypestack:developfrom
Moses-Bassey:feat/add-is-username-validator
Closed

Feat/add is username validator#2651
Moses-Bassey wants to merge 2 commits intotypestack:developfrom
Moses-Bassey:feat/add-is-username-validator

Conversation

@Moses-Bassey
Copy link
Copy Markdown

Description

Checklist

  • [ x] Added username validators that supports just some special strings
  • [ x] Also enable users to define thier username string rules

@Clashsoft
Copy link
Copy Markdown
Contributor

Is this really that useful? It can be done with a regex validator already, and is highly subjective.

@Setitch
Copy link
Copy Markdown

Setitch commented Dec 30, 2025

Is this really that useful? It can be done with a regex validator already, and is highly subjective.

Totally agree, not only this adds not needed feature it also strips local language letters unless you provide them - it would be just a pain in multi language environment and real life examples.
One more note: user name is usually email address (especially with 3rd party login system).

@braaar
Copy link
Copy Markdown
Member

braaar commented Feb 25, 2026

This is a bit specific to your use case. Use a custom validator instead

@braaar braaar closed this Feb 25, 2026
@github-actions
Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants