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
The onBlur callback is never triggered by the DateRangerPicker component when the user leaves the input. The onBlur event is essential to know when the user is done editing the field so the frontend can persist the change ad-hoc since the onChange is triggered for almost every keystroke the user does
<DateRangePickervalue={myRange}onChange={range=>setMyRange(range)}onBlur={()=>console.log('this will never be invoked')}/>
The text was updated successfully, but these errors were encountered:
I see that the "rest" {...props} is not applied in the DaterangePicker as it is in the DatePicker. Putting it in seems to fix the issue. Note that onBlur is also triggered by opening the calendar popover since that then blurs the input as well.
The onBlur callback is never triggered by the DateRangerPicker component when the user leaves the input. The onBlur event is essential to know when the user is done editing the field so the frontend can persist the change ad-hoc since the onChange is triggered for almost every keystroke the user does
The text was updated successfully, but these errors were encountered: