Closed moneosi closed 4 years ago
Hello, after date selected, two way bind shouldn't it work?
<DateRangePicker SingleDatePicker="true" class="form-control form-control-sm" @bind-Value="Date" placeholder="Date"></DateRangePicker> <button class="btn btn-sm" type="button" @onclick="ShowDate"> Show Date </button> @code { DateTime Date { get; set; } void ShowDate() => Console.WriteLine(Date); }
WASM: 01/01/0001 00:00:00
Hello. Use <DateRangePicker @bind-StartDate="Value" EndDate="Value" />
<DateRangePicker @bind-StartDate="Value" EndDate="Value" />
Thanks a lot
Hello, after date selected, two way bind shouldn't it work?
WASM: 01/01/0001 00:00:00