fix: fix some status logic.

This commit is contained in:
rabbitism
2024-06-23 14:03:45 +08:00
parent 94b788a5ef
commit 83833fbdd3
4 changed files with 38 additions and 21 deletions

View File

@@ -302,8 +302,8 @@ public class DateRangePicker : DatePickerBase
if (string.IsNullOrEmpty(textBox?.Text))
{
SetCurrentValue(property, null);
_startCalendar?.ClearSelection();
_endCalendar?.ClearSelection();
_startCalendar?.ClearSelection(start: true);
_endCalendar?.ClearSelection(end: true);
}
else if (DisplayFormat is null || DisplayFormat.Length == 0)
{