Is there an existing issue for this?
Describe the bug
I am trying to bind a InputDate component to a nullable DateOnly property. When I click on the submit button, I see a validation message The value '' is not valid for 'Date'
Expected Behavior
Form should be submitted without any validation errors.
Steps To Reproduce
- Clone the project at https://github.com/nvmkpk/BlazorAppRepro1
- Run the project
- Click on
Counter link on the left
- Click on
Click me button
- Observe the validation error message
Exceptions (if any)
None
.NET Version
8.0.100
Anything else?
This only happens when not using any of the interactive modes. The form post sends empty string for the date field that cannot be parsed to a valid date on the server side.
Is there an existing issue for this?
Describe the bug
I am trying to bind a
InputDatecomponent to a nullableDateOnlyproperty. When I click on the submit button, I see a validation messageThe value '' is not valid for 'Date'Expected Behavior
Form should be submitted without any validation errors.
Steps To Reproduce
Counterlink on the leftClick mebuttonExceptions (if any)
None
.NET Version
8.0.100
Anything else?
This only happens when not using any of the interactive modes. The form post sends empty string for the date field that cannot be parsed to a valid date on the server side.