platform icon indicating copy to clipboard operation
platform copied to clipboard

[13.0] Don't use jQuery and packages that depend on it.

Open tabuna opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe.

jQuery has a bad reputation at the moment. While we don't directly use it anywhere right now, we do have entries like select2 that require it. It would be great if we could replace them with something as functional and supported by the community.

Describe the solution you'd like

I have considered several options that we could use:

Choices-js / Choices

Seems like a great option, but its implementation encountered issues with focus and z-index without fixing which the field cannot be used in dropdowns or modals.

orchidjs / tom-select

The implementation was successful, and there is also a bootstrap theme, which greatly simplifies support. I propose to stay on this package.

Additional context

It's best to do a major release to emphasize that custom code that used jQuery needs attention and includes a library.

tabuna avatar Jun 30 '22 14:06 tabuna