You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can consider adding a js file select2-bootstrap-modal-patch.js.
Add this js to Select2ScriptContributor, if this causes other problems, the developer can remove it.
$.fn.modal.Constructor.prototype._enforceFocus = function () { };
When I want to make a selectbox in modal to searchable with
Select2
it does not work. It looks like disabled, doesn't accept any writing.The solution is changing the modal contructor prototype by the following code:
$.fn.modal.Constructor.prototype._enforceFocus = function () { };
select2/select2#1436 (comment)
https://select2.org/troubleshooting/common-problems
we should inspect and find possible effects by changing this prototype. If it does not occurs any problem, we can implement this in framework layer.
The text was updated successfully, but these errors were encountered: