Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input text validation #12

Open
rukshn opened this issue Nov 20, 2023 · 1 comment
Open

Input text validation #12

rukshn opened this issue Nov 20, 2023 · 1 comment
Labels
cql enhancement New feature or request

Comments

@rukshn
Copy link
Contributor

rukshn commented Nov 20, 2023

An input field like the number field should have validation rule capabilities. These include,

  • Excluding multiple symbols
  • Allowing A-z characters and or numbers
  • Allowing only selected characters
  • Allowing a maximum character length
@rukshn rukshn added the enhancement New feature or request label Nov 20, 2023
@delcroip
Copy link
Contributor

delcroip commented Jan 8, 2025

this could be achieved by implementing the cql 'matches' and allowing a "validation" attr to host cql

' $this matches '^[a-z]{3}[0-9]{3}$''

@delcroip delcroip added the cql label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cql enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants