Skip to content

Commit e4ed155

Browse files
docs(timepicker): onchange event and clarifications on behaviors
1 parent 8067c46 commit e4ed155

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

components/timepicker/events.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,15 @@ position: 20
1111
# Events
1212

1313
This article explains the events available in the Telerik TimePicker for Blazor:
14-
<!--
14+
1515
* [OnChange](#onchange)
1616
* [ValueChanged](#valuechanged)
1717

1818
## OnChange
1919

20-
when the new value is commited by the user either by pressing Enter, or when the input loses focus.
21-
22-
The `OnChange` event fires when the new value is commited by the user either by editing the input (typing, using the arrows) and pressing `Enter` after that, or by setting the time through the dropdown and its `Set` button.
20+
The `OnChange` event fires when the new value is commited by the user either by pressing `Enter`, or when the input loses focus.
2321

24-
The date picker is a generic component, so you must provide either a `Value`, or a type to the `T` parameter of the component.
22+
The time picker is a generic component, so you must provide either a `Value`, or a type to the `T` parameter of the component.
2523

2624
>caption Handle OnChange
2725
@@ -74,7 +72,7 @@ model value: @thePickerValue
7472
}
7573
}
7674
````
77-
-->
75+
7876

7977
## ValueChanged
8078

components/timepicker/overview.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ Selected time: @selectedTime?.ToLongTimeString()
5252

5353
The Time Picker component exposes the following features:
5454

55-
* `Enabled` - Specifies whether typing in the input is allowed.
55+
* `Enabled` - Specifies whether typing in the input and opening the dropdown are allowed.
5656
* `Height` - Defines the height of the TimePicker. Defaults to `28px`. See the [Dimensions]({%slug common-features/dimensions%}) article.
57-
* `Format` - Specifies the format of the DateInput of the TimePicker. Defaults to `HH:mm` (24 hour time format). Read more in the [Supported Formats]({%slug components/dateinput/supported-formats%}) article. Note that format specifiers for non-time portions will only be editable in the input and will not have a representation in the time picker dropdown.
58-
* `Min` - The earliest time that the user can select.
59-
* `Max` - The latest time that the user can select.
57+
* `Format` - Specifies the format of the DateInput of the TimePicker. Defaults to `hh:mm tt` (12 hour time with AM/PM specifiers). Read more in the [Supported Formats]({%slug components/dateinput/supported-formats%}) article. Note that format specifiers for non-time portions will only be editable in the input and will not have a representation in the time picker dropdown.
58+
* `Min` - The earliest time that the user can select in the dropdown.
59+
* `Max` - The latest time that the user can select in the dropdown.
6060
* `Value` - The current value of the input. Can be used for binding.
6161
* `Width` - Defines the width of the TimePicker.
6262
* Validation - see the [Input Validation]({%slug common-features/input-validation%}) article.

0 commit comments

Comments
 (0)