A
A
Andrew Chil2017-02-22 12:46:13
css
Andrew Chil, 2017-02-22 12:46:13

jquery ui and bootstrap 4 conflict?

Good afternoon! Please tell me, who has already used bootstrap 4, how does it provide for the use of jquery UI and all its components?
I'm trying to connect jquery UI, the conflict is due to the fact that jquery 3 is connected, it requires a lower version.
Or bootstrap 4 does not provide for the use of this library? At the moment I only need a datepicker, but I'm still wondering how to proceed with this...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
iBird Rose, 2017-02-22
@iiiBird

forget about jQuery UI. this is a 10 year old library that is not being updated. all its functionality has long existed in other new libraries.
for example here is the datepicker https://eonasdan.github.io/bootstrap-datetimepicker/
or here https://bootstrap-datepicker.readthedocs.io/en/latest/

S
Stalker_RED, 2017-02-22
@Stalker_RED

jQuery UI 1.12 officially supports jQuery 1.7.0 - 3.1.0.

Check what versions you have and where you get libraries from.
It becomes more interesting.
Third-party libraries
Bootstrap does not officially support third-party JavaScript libraries like Prototype or jQuery UI. Despite .noConflict and namespaced events, there may be compatibility problems that you need to fix on your own.
© getbootstrap.com/javascript
UPD: Found this: Bootstrap 4-alpha comes with jQuery slim, and jQueryUI doesn't work with it. Replaced with full version - works https://jsfiddle.net/Stalk/hencek86/1/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question