Open AhmadPayamani opened 11 months ago
datepicker not close automatically after picking a date
<DatePicker id='date' range format='YYYY/MM/DD' containerStyle={{ width: "100%" }} dateSeparator="~ " placeholder='select range date' plugins={[ weekends() ]} onChange={handleChangeRangeDate} rangeHover calendar={persian} locale={persian_fa} className='green' calendarPosition="bottom-right" inputClass="form-control text-center" />
Answer : https://shahabyazdi.github.io/react-multi-date-picker/fa/ref/
datePickerRef.current.closeCalendar();
datepicker not close automatically after picking a date
<DatePicker id='date' range format='YYYY/MM/DD' containerStyle={{ width: "100%" }} dateSeparator="~ " placeholder='select range date' plugins={[ weekends() ]} onChange={handleChangeRangeDate} rangeHover calendar={persian} locale={persian_fa} className='green' calendarPosition="bottom-right" inputClass="form-control text-center" />