Skip to content

fix: Trim whitespace from string inputs before validation #5739

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

dsamojlenko
Copy link
Member

@dsamojlenko dsamojlenko commented Jun 20, 2025

Summary | Résumé

Bug: validation passes on required inputs if user simply enters 1 or more spaces.
When validating required text inputs, we should trim whitespace.

Copy link
Contributor

@timarney
Copy link
Member

This PR might be helpful for some cases as well

#5572

@dsamojlenko dsamojlenko marked this pull request as ready for review June 20, 2025 15:44
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.

2 participants