Skip to content

Conversation

charliepark
Copy link
Contributor

@charliepark charliepark commented Nov 14, 2024

In #2549, we set up a function (normalizeName) that allows us to normalize inputs so they conform to the relevant string patterns for the Name field. This PR uses that same function and applies it to the values entered in to comboboxes. As a result of this, #2546 is fixed, as the function doesn't allow for whitespace characters.

This is also the usecase where the normalizeName second parameter (allowNonLetterStart) comes in, as people might need to search for a number inside a combobox (e.g. "filter the combobox for all instance names that include 22").

Closes #2546

Copy link

vercel bot commented Nov 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
console ✅ Ready (Inspect) Visit Preview Nov 14, 2024 6:45pm

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.

Disallow combobox custom values made only of whitespace
2 participants