0

I have a form and i render that in template with django-select2 and also i downloaded one of metronic html templates with css and js files and they have select2 styles in there

But select2 its not django-select2 package but i need django-select2 so how can i use their customize on my package?

https://preview.keenthemes.com/html/metronic/docs/forms/select2

template.html

                {% render_field form.contractor_counter|add_class:"form-select" %}
thats` how they say i need to use their template of select 2
{#                <select class="form-select" data-control="select2" data-placeholder="Select an option">#}
{#                    <option></option>#}
{#                    <option value="1">Option 1</option>#}
{#                    <option value="2">Option 2</option>#}
{#                </select>#}
Kirill_N
  • 76
  • 8

0 Answers0