react-flatpickr
react-flatpickr copied to clipboard
Can't change hours and minutes normally when use 'disable' and 'enableTime' attributes.
When I set 'disable' and 'enableTime' in 'options' attribute and then trying to change hours and minutes by fast clicking on buttons it doesn't change it. When I hold buttons to change these values it works, but that looks not userfriendly. How to fix it?
<Flatpickr
name={this.props.name}
value={this.props.value}
onChange={this.handleChange}
placeholder={this.props.placeholder ? this.props.placeholder : ''}
options={{
enableTime: this.props.enableTime,
static: true,
position: 'below',
disable: this.props.disable,
}}
/>
Same here! Works fine with arrows on keyboard and input from keyboard, but doesn't work with UI arrows. I literally got incorrect date in handler