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

Forecasting: validate characters for name field in transformation creation dialog #1986

Merged
merged 6 commits into from
Feb 25, 2023

Conversation

romanlutz
Copy link
Contributor

Description

This PR adds input validation for the name field in the transformation creation dialog. Length validation already exists, so this only adds character validation.

If you write a name and fully erase it:
image

If you enter invalid characters:
image

Checklist

  • I have added screenshots above for all UI changes.
  • I have added e2e tests for all UI changes.
  • Documentation was updated if it was needed.

@romanlutz romanlutz changed the title validate characters for name field Forecasting: validate characters for name field in transformation creation dialog Feb 24, 2023
1 similar comment
@hawestra
Copy link
Contributor

should there be a string length check ? or is this already existing ?

@romanlutz
Copy link
Contributor Author

should there be a string length check ? or is this already existing ?

That was added in #1981 🙂 It's an earlier check so it doesn't need to be part of the function with the regex.

@romanlutz romanlutz enabled auto-merge (squash) February 24, 2023 20:13
@romanlutz romanlutz merged commit 7dd3273 into main Feb 25, 2023
@romanlutz romanlutz deleted the romanlutz/name_char_validation branch February 25, 2023 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants