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

Feature: Create regex property #6

Open
razasaeed opened this issue Feb 18, 2023 · 0 comments
Open

Feature: Create regex property #6

razasaeed opened this issue Feb 18, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@razasaeed
Copy link
Owner

Create a property called "omniRegex" where, for instance, if a user enters a phone number, the input should be validated and, if the input is invalid, the edittext borders should turn red and an error message stating "The input is invalid" should be visible below the edittext.

Example test case:
app:omniRegex="(\+\d( )?)?([-\( ]\d{3}[-\) ])( )?\d{3}-\d{4}"

New Project (5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
Development

No branches or pull requests

1 participant