Skip to content

Commit 63f7895

Browse files
authored
Merge pull request #4865 from syncfusion-content/910140-dev2
910140: Documentaion for Time Restriction, Input Formats and Disabled…
2 parents 0f53565 + f8615f8 commit 63f7895

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

blazor/datetime-picker/date-time-range.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ The following code allows selecting a date within the range from 10:00 AM to 8:3
7373

7474
![Time Selection in Blazor DateTimePicker](./images/blazor-datetimepicker-time-selection.png)
7575

76-
When the MinTime and MaxTime properties are configured and the selected time value is out-of-range or invalid, then the model value will be set to `out of range` time value or `null` respectively with highlighted `error` class to indicate the time is out of range or invalid.
76+
When minTime and maxTime are set, the component will prioritize min if minTime is less than the current min time, and max if maxTime is greater than the current max time. Conversely, it will prioritize minTime if it is greater than the current min time, and maxTime if it is less than the current max time. These behaviors apply only when min and max Dates are selected or pre-bounded, with minTime and maxTime values set for all other dates apart from min and max dates.
77+
78+
The below example allows selecting a time within the range from 10:00 AM to 8:30 PM of each day.
7779

7880
```cshtml
7981
@using Syncfusion.Blazor.Calendars

blazor/mention/disabled-items.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ In the following sample, State are grouped according on its category using `Disa
2323

2424
## Disable Item Method
2525

26-
The disableItem method can be used to handle dynamic changing in disable state of a specific item. Only one item can be disabled in this method. To disable multiple items, this method can be iterated with the items list or array. The disabled field state will to be updated in the [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DropDowns.SfDropDownBase-1.html#Syncfusion_Blazor_DropDowns_SfDropDownBase_1_DataSource), when the item is disabled using this method. If the selected item is disabled dynamically, then the selection will be cleared.
26+
The disableItem method can be used to handle dynamic changing in disable state of a specific item. Only one item can be disabled in this method. To disable multiple items, this method can be iterated with the items list or array. The disabled field state will to be updated in the [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DropDowns.SfDropDownBase-1.html#Syncfusion_Blazor_DropDowns_SfDropDownBase_1_DataSource), when the item is disabled using this method.
2727

2828
| Parameter | Type | Description |
2929
|------|------|------|

0 commit comments

Comments
 (0)