-
-
Notifications
You must be signed in to change notification settings - Fork 87
Closed
Description
Have:
<DateInput @bind-Value="FilterDate" />
DateTime? FilterDate;
Set any date from control GUI.
Then do (as response to a button event, for example):
FilterDate = null;
The date is not cleraed. However, if I set a valid date (ie: DateTime.Now) the value is correctly updated, so binding is ok.
Workaround:
use standard InputDate instead:
<InputDate @bind-Value="FilterDate" class="form-control" />
it works as expected.