From 4e4aa1602d9b3aa0d4542da162a93dc53f013dc3 Mon Sep 17 00:00:00 2001 From: Sergey Vinogradov Date: Thu, 3 Oct 2024 12:45:54 +0300 Subject: [PATCH] Update articles/components/date-time-picker/index.adoc --- articles/components/date-time-picker/index.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/articles/components/date-time-picker/index.adoc b/articles/components/date-time-picker/index.adoc index 009e520852..0d574ec0a6 100644 --- a/articles/components/date-time-picker/index.adoc +++ b/articles/components/date-time-picker/index.adoc @@ -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] --