-
Notifications
You must be signed in to change notification settings - Fork 77
calendar not working when used with autocomplete #10
Comments
interestingly, if I put the autocomplete field first it works correctly |
@cornernote seems that there is an issue with the js files order. |
I guess as a hacky fix I can output buff a fake autocomplete field, then destroy the output. Would be great if there was a cleaner way to solve it. |
Let me know your findings if we can improve the library. Thanks |
haven't had a chance to get back to it.. i'll be working on it again later in the week. |
I saved the output of the working version and a non-working version, then twiddled the broken version. The thing that makes it work is changing this:
To this:
jquery-ui has to be output before bootstrap. That's probably tricky to resolve in this lib, because the calendar widget doesn't use jquery-ui. It's only used by the auto-complete widget. I think the best option for me is the hacky output buff I suggested above. If you have a better way to do it I am all ears. If you can think of a way to make the library do it internally then that would be awesome. |
I would create an Asset Bundle and set those that register those libraries turned off, that way I can ensure the order. |
Hi, how are you? I have the same problem. How i can resolve it? |
The following code results in the calendar always being displayed, and not working. There is no JS error in console.
The text was updated successfully, but these errors were encountered: