Skip to content

Commit 0e63e87

Browse files
committed
DatePicker will not populate iniitially hour and minutes when bound to TimeOnly
1 parent 1e900ec commit 0e63e87

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Radzen.Blazor/RadzenDatePicker.razor.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,7 @@ public object Value
633633
else if (value is TimeOnly timeOnly)
634634
{
635635
_dateTimeValue = new DateTime(CurrentDate.Year, CurrentDate.Month, CurrentDate.Day, timeOnly.Hour, timeOnly.Minute, timeOnly.Second, timeOnly.Millisecond, Kind);
636+
_currentDate = _dateTimeValue.Value;
636637
}
637638
#endif
638639
else

0 commit comments

Comments
 (0)