fix: fix a minor issue when DateTimePicker losing focus.
This commit is contained in:
@@ -233,6 +233,11 @@ public class DateTimePicker : DatePickerBase
|
|||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (element == _textBox)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
CommitInput(true);
|
CommitInput(true);
|
||||||
SetCurrentValue(IsDropdownOpenProperty, false);
|
SetCurrentValue(IsDropdownOpenProperty, false);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user