Blazor : cannot bind nullable DateTime to input #9598
Labels
area-blazor
Includes: Blazor, Razor Components
enhancement
This issue represents an ask for new feature or an enhancement to an existing one
Milestone
The issue #5541 is supposed to be solved on the last preview.
It works fine with
int?
andbool?
, but I'm still not able to bind a nullable DateTime to an<input type="date">
The error is different than on the previous issue :
error CS0029: Cannot implicitly convert type 'string' to 'System.DateTime?'
Is it supposed to work, or is there a workaround for that ?
The text was updated successfully, but these errors were encountered: