jdtcn / BlazorDateRangePicker

A Blazor component for choosing date ranges and dates
MIT License
182 stars 35 forks source link

Can not bind Date Value #77

Open webcodeleo opened 2 years ago

webcodeleo commented 2 years ago

I have added Date Range Picker like this <DateRangePicker SingleDatePicker=true class="form-control" @bind-Value="@FinancialYearData.FromDate" />

I am getting only default value (1/1/0001 12:00:00 AM ). But can not get selected date. Please help me. Thanks

jdtcn commented 2 years ago

Hi! Please try @bind-StartDate instead of @bind-Value, with property of type DateTimeOffset?.