Replies: 1 comment
-
Hi @urzbs, Thanks for reaching out. Honestly, I haven't used Bootstrap in a whee bit. However, I presume your issues comes from Select2 injecting custom DOM and hiding the original I hope my direction helps. Cheers! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Goal
I am trying to add a
Bootstap 4 Popover
into a field that uses theModelSelect2Widget
So when the field is hovered / focussed the popover will be displayed.
Problem
The popovers for select2 fields are not shown/triggered. (but visible in the html).
by removing
{{ form.media.js }}
they will be shown, but then i cant use the select2 features.(Other fields e.g. CharField do work with this popover.)
Code Snippet
forms.py
html template:
Beta Was this translation helpful? Give feedback.
All reactions