Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't change hours and minutes normally when use 'disable' and 'enableTime' attributes. #114

Open
dcheremisin opened this issue Dec 30, 2019 · 1 comment

Comments

@dcheremisin
Copy link

dcheremisin commented Dec 30, 2019

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,
  }}
/>
@iron66
Copy link

iron66 commented Feb 6, 2020

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

@dcheremisin dcheremisin reopened this Feb 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants