Skip to content

Commit d4e17e4

Browse files
docs(timePicker): minor validation exapmle update
1 parent 0e076a5 commit d4e17e4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

common-features/input-validation.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ position: 2
1010

1111
# Input Validation
1212

13-
The UI for Blazor suite supports and integrates seemlessly into Blazor's Forms and Validation infrastructure. All Telerik UI for Blazor Input components work out of the box when placed inside an EditForm, respond to EditContext changes and provide default invalid styles.
13+
The UI for Blazor suite supports and integrates seamlessly into Blazor's Forms and Validation infrastructure. All Telerik UI for Blazor Input components work out of the box when placed inside an `EditForm`, respond to `EditContext` changes and provide default invalid styles.
1414

1515
To validate the Blazor inputs, you need to:
1616

@@ -107,7 +107,8 @@ Simple textbox-like inputs do not have any special behavior. You need to bind th
107107
108108
Person person = new Person()
109109
{
110-
DailyScrum = new DateTime(1900, 1, 1, 1, 1, 1) // must match the date portion of the range validation dates
110+
// for time pickers, the initial date value must match the date portion of the range validation rule
111+
DailyScrum = new DateTime(1900, 1, 1, 1, 1, 1)
111112
};
112113
113114
void HandleValidSubmit()

0 commit comments

Comments
 (0)