We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
The text was updated successfully, but these errors were encountered:
@LucaCris Thank you for reporting this. Will fix this.
Sorry, something went wrong.
DateInput no reaction to null #221
a64c0e6
49991e3
DateInput no reaction to null #221 (#224)
bc33345
* DateInput no reaction to null #221
gvreddy04
Successfully merging a pull request may close this issue.
Have:
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.
The text was updated successfully, but these errors were encountered: