Skip to content

Commit

Permalink
Update articles/components/date-time-picker/index.adoc
Browse files Browse the repository at this point in the history
  • Loading branch information
vursen authored Oct 3, 2024
1 parent 8940119 commit 4e4aa16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion articles/components/date-time-picker/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ It's important to ensure an appropriate error message is configured for each con

=== Custom Validation

For more complex cases where constraint validation isn't enough, Flow and Hilla offer the Binder API that allows you to define custom validation rules. This is useful, for example, when you want to restrict date selection to weekdays (Monday-Friday) and time selection to opening hours. In the following example, try selecting a date that's on a weekend or a time that's outside opening hours to see a custom validation message.
For more complex cases where constraint validation isn't enough, Flow and Hilla offer the Binder API that allows you to define custom validation rules. This is useful, for example, when you want to restrict date selection to weekdays (Monday-Friday) and time selection to only certain hours. In the following example, try selecting a date that's on a weekend or a time that's outside opening hours to see a custom validation message.

[.example]
--
Expand Down

0 comments on commit 4e4aa16

Please sign in to comment.