The jquery multiselect cannnot filter can be selected inside a dialog with a modal: true

I use the following jquery libraries:

When I use the multiselect filter for any selection, it only works for searching. When I use the multiselect filter inside the Dialog user interface with the modal:true property, I can no longer filter the list - the search placeholder cannot be selected.

Without the modal:true property, it works fine.

I tried to add the appendTo: 'form' property, but still have problems.

Edit: sample code http://jsfiddle.net/dQzxJ/3/

Any ideas? Thanks Eddie

+4
source share
2 answers

This problem has not yet been resolved. Errors like this , I struggled with two months ago. And one day I asked myself: what about the chosen as an alternative? http://harvesthq.imtqy.com/chosen/

As I tried, I was pleased.

+1
source

There is a script to solve a similar problem with CKEditor in a modal dialog, which can be found here

for Eric Hynds multi-element plugin, add the following code to the _allowInteraction function:

 if ($(event.target).closest(".ui-multiselect-menu").length) { return true; } 
+1
source

Source: https://habr.com/ru/post/1489439/


All Articles