You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I am using the DatePicker component to complete the date range selection function. I use the DatesChanged event to trigger the event every time I select a time. The parameter of the event is an array with only the selected time, which is not a range time array.
my code: <DatePicker Dates="new List<DateTime?>{context.StartDate,context.EndDate}" DatesChanged="arr=>DatesChanged(arr,context)" TValue="DateTime?" InputMode="DateInputMode.Date" SelectionMode="DateInputSelectionMode.Range" />
Describe the solution you'd like
I hope that an event will be triggered after I select the start time and end time, but I cannot find this event, or there will be a confirmation button at the end of the time range selection for me to To trigger this event,
Additional context
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I am using the DatePicker component to complete the date range selection function. I use the DatesChanged event to trigger the event every time I select a time. The parameter of the event is an array with only the selected time, which is not a range time array.
my code:
<DatePicker Dates="new List<DateTime?>{context.StartDate,context.EndDate}" DatesChanged="arr=>DatesChanged(arr,context)" TValue="DateTime?" InputMode="DateInputMode.Date" SelectionMode="DateInputSelectionMode.Range" />
private Task DatesChanged(IReadOnlyList<DateTime?> dates, GetStockInAndOutNoticesInput input) { input.StartDate=dates.FirstOrDefault(); input.EndDate = dates.LastOrDefault(); return Task.CompletedTask; }
Describe the solution you'd like
I hope that an event will be triggered after I select the start time and end time, but I cannot find this event, or there will be a confirmation button at the end of the time range selection for me to To trigger this event,
Additional context
The text was updated successfully, but these errors were encountered: