Use Functions in Tempus Dominus v6 with jQuery on Bootstrap 5 #2839
-
Hello everyone. We are migrating a project to Bootstrap 5. It is quite old, we used "Bootstrap 3 Datepicker v4". When using the functions we used the instructions indicated in the documentation;
For example, we had an external button to clear the selected date with the following code; We don't know what we are doing wrong. We have tried to replicate this behavior and have not found any way to use Tempus Dominus 6 functions from JS with Jquery. Could the author or some other user point us to a way to do it correctly? We have found a simple example on the web accessing from Google, but it does not have any example of use of functions; Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi. I've updated the jQuery StackBlitz example to include how to use the functions. Please take a look at this migration tool for converting your configs. Also, be aware that v7 is now the active version and v6 is LTS for the next 6 months. There isn't a published version of 7 yet. Bootstrap no longer has a jQuery dependency, and neither does the picker. I'd recommend you migrate away from jQuery if you can. jQuery support is a pretty low priority for me these days. |
Beta Was this translation helpful? Give feedback.
Hi. I've updated the jQuery StackBlitz example to include how to use the functions.
Please take a look at this migration tool for converting your configs. Also, be aware that v7 is now the active version and v6 is LTS for the next 6 months. There isn't a published version of 7 yet.
Bootstrap no longer has a jQuery dependency, and neither does the picker. I'd recommend you migrate away from jQuery if you can. jQuery support is a pretty low priority for me these days.