Library Blazor Components DatePicker Value

Value

Identifies currently entered date. If user input is invalid or empty the value will be null.

razor
[Parameter]
public DateOnly? Value { get; set; }

This parameter supports two-way binding.

Example

razor
<DatePicker @bind-Value="DayOfBirth" />

@code {
    public DateOnly? DayOfBirth;
}

Sign in