-
Notifications
You must be signed in to change notification settings - Fork 186
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
Add error messages to field constraint samples #3548
Comments
I have a proposal: How about we add a "Constraints" section to the DatePicker and TimePicker articles, replacing their min/max examples, to align these articles with text fields? In this section, we would also include the required constraint, which is currently missing. Then, we could also add this section to other fields like Select, ComboBox, etc, as they also have one constraint: required. I'm not sure if using i18n for error messages is necessary for single-constraint components. Maybe we could use |
I suppose we could do something like that, but let's keep the Custom Validation sections separate like now. |
Meeting notes from our internal session on August 26, 2024:
|
Once the error message API has been merged, make sure that the samples with constraints for each field have appropriate error messages for each constraint:
Part of vaadin/flow-components#4618
The text was updated successfully, but these errors were encountered: