-
Notifications
You must be signed in to change notification settings - Fork 66
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
[ComboBox] Validation does not check pattern #6635
Comments
After discussing this issue, we reached a consensus that |
Based on the git history, the BTW the |
Description
Although
setPattern
is available in ComboBox, it only sets the related attribute and doesn't affect validation. This contrasts with the web component where the pattern is actually checked during validation. Without validation, the purpose of the pattern is unclear.Expected outcome
ComboBox should invalidate if the custom value doesn't match the pattern, same as it works in the web component.
Minimal reproducible example
Environment
Vaadin version(s): 24.5 and earlier
OS: Mac OS
Browsers
No response
The text was updated successfully, but these errors were encountered: