Open gudapraveenkumar opened 3 years ago
Currently when user changes the date from editableDateInputs or the calendar onChange event is triggered and with this one handler I cannot identify from where this change is triggered.
<DateRange onChange={(item) => handleChange(item)} months={2} ranges={dateTimeRange} dateDisplayFormat={'yyyy-MM-dd HH:mm'} direction="horizontal" editableDateInputs={true} />
Is there any function or workaround to detect if the change is from editableDateInputs but not from the Calendar range selection
Can confirm this doesn't work. No changes in dates are triggered when using the editableDateInputs :(
editableDateInputs
Currently when user changes the date from editableDateInputs or the calendar onChange event is triggered and with this one handler I cannot identify from where this change is triggered.
<DateRange onChange={(item) => handleChange(item)} months={2} ranges={dateTimeRange} dateDisplayFormat={'yyyy-MM-dd HH:mm'} direction="horizontal" editableDateInputs={true} />
Is there any function or workaround to detect if the change is from editableDateInputs but not from the Calendar range selection