-
Notifications
You must be signed in to change notification settings - Fork 284
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
Date picker is still shown on click of another input filed #442
Comments
test page will speed up the solution...
…On Feb 23, 2018 11:48 AM, "umamaheswarcs" ***@***.***> wrote:
I have clicked on date input filter then date picker shows up. Without the
date selection, I clicked(accidentally) on another filter input of any type
the first date picker is not hidden.
This is happening for date and range_date filter types.
[image: 2 multipl e date pickers]
<https://user-images.githubusercontent.com/4364002/36587584-9e9252ce-18ab-11e8-9103-654fcbc785a7.png>
I think focusout event needs to be added for date filter to hide current
date picker. I tried this and the date picker is hidden but the value in
input field is clearing.
Please check at line 1682 for adding focusout event if necessary for From
and To input fields
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#442>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABmiX6nqn_GohUIAxy-QTFPVL9V4VH3Tks5tXolrgaJpZM4SQn7h>
.
|
Created Test page for 441 and 442 issues jsfiddle.net/umamaheswarcs/UvjnT/2975 |
I'm having similar issue. In my case I have date picker - date range So the problem seems that even if we set datepicker to autoclose: true, Note this also occur when using select2 if I don't select an item an click on another Select2 box they all stay open.... so this is not only related to the datepicker... For example, because the fields are not closing on click they overlaps, the select2 dropdown is over the calendar |
Any new on this? |
not yet, but if you will provide me an api call / etc that closes all open datepickers it will surely speed up the solution |
I did some tests with select2 and uxsolutions/bootstrap-datepicker I have made tests using a regular form and Yadcf form to compare the result. On regular form Using Yadcf form On regular form Using Yadcf form This is not blocking but make the form look weird if you have several select2 or calendar |
i know why its not being closed, I just need to know how to close all open datepickers , I might just call a general selector.hide / etc |
for Select2 for uxsolutions/bootstrap-datepicker |
Thanks, I'm aware of those functions I believe that I will finish working on this issue in the next days |
fixed as to the select2 mentioned above, please open a new issue with a test case because it does work in showcase, in case you are using an older version of select2 please use a newer, in case that you are using a more recent select2 version please provide a test case |
Hi I just created a new case for Select2 Does your fix cover all datepicker type for single date and date range? |
I have clicked on date input filter then date picker shows up. Without the date selection, I clicked(accidentally) on another filter input of any type the first date picker is not hidden.
This is happening for date and range_date filter types.
![2 multipl e date pickers](https://user-images.githubusercontent.com/4364002/36587584-9e9252ce-18ab-11e8-9103-654fcbc785a7.png)
I think focusout event needs to be added for date filter to hide current date picker. I tried this and the date picker is hidden but the value in input field is clearing.
Please check at line 1682 for adding focusout event if necessary for From and To input fields
The text was updated successfully, but these errors were encountered: