Replies: 1 comment 5 replies
-
Hi @Mergpijp, Thanks for reaching out. I am not 100% sure that I fully understood your questions. You want to use django-select2 without a Django form in the backend? If so, you will need to provide your own JSON view to provide the data for the field. You find an example on how this is done in the docs for the django-select2/django_select2/forms.py Lines 283 to 301 in e735be2 I hope that helps you solve your problem. Best, |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Goal
I am trying to make select2 work in pure html in a modal.
Problem
I have a workaround by using another field_id from another form. Is this the right way? Do I need to create a field_Id for each select2 field?
Code Snippet
Please provide a code snippet of your problem:
Beta Was this translation helpful? Give feedback.
All reactions