arqex / arqex/react-datetime

closeOnSelect not working

Open
#584 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2k
Forks
858
PR merge metrics
No merged PRs in 30d

Description

I'm working with react-datetime latest version(2.15.0). But closeOnSelect is not working. Date picker is closing after selecting either date or time.
` this.handleTimeChange(event)}
dateFormat={"DD MMMM, YYYY"}
className={'datepicker'}
open={false}
closeOnTab={true}
viewDate={'Date'}
timeFormat={"hh:mm A"}
closeOnSelect={false}
inputProps={{readOnly: true }}
/>`

It's working when I removed onChange event.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.