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

autoApply with range #40

Closed
csbszb opened this issue May 4, 2022 · 3 comments
Closed

autoApply with range #40

csbszb opened this issue May 4, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@csbszb
Copy link

csbszb commented May 4, 2022

@Jasenkoo nice plugin!

Wanted to ask real quick whether it would be possible to use the autoApply option with the range option without having to open the date selector twice.
Right now when I select a start date, the popup is closed because of the autoApply and need to open the date selector again to be able to select the end date as well.

Thanks!

@csbszb csbszb added the enhancement New feature or request label May 4, 2022
@Jasenkoo
Copy link
Contributor

Jasenkoo commented May 4, 2022

Thank you. Can you try disabling the partialRange prop and tell me if it works. Also, you can disable auto-closing but keep auto-apply with closeOnAutoApply prop

@csbszb
Copy link
Author

csbszb commented May 4, 2022

I think I have an edge-case here as I'm using the monthPicker.
When I use the regular date picker the range selector is working fine.

@Jasenkoo
Copy link
Contributor

Jasenkoo commented May 4, 2022

Ok, will fix it, should not close after the first selection

@Jasenkoo Jasenkoo added bug Something isn't working and removed enhancement New feature or request labels May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants