Identifies currently entered date. If user input is invalid or empty the value will be null
.
[Parameter]
public DateOnly? Value { get; set; }
This parameter supports two-way binding.
Example
<DatePicker @bind-Value="DayOfBirth" />
@code {
public DateOnly? DayOfBirth;
}