[UPDT] HORILLA WIDGETS: Variable declaration

This commit is contained in:
Horilla
2024-10-29 11:39:49 +05:30
parent c6ce18cab7
commit 364b355191
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +1 @@
{% for name, value in widget.attrs.items %}{% if value is not False %} {{ name }}{% if value is not True %}="{{ value|stringformat:'s' }}"{% endif %}{% endif %}{% endfor %}
{% for name, value in widget.attrs.items %}{% if value is not False %} {{ name }}{% if value is not True %}="{{ value|stringformat:'s' }}"{% endif %}{% endif %}{% endfor %}

View File

@@ -59,7 +59,7 @@
</div>
</div>
<script>
let selectedIds = [];
var selectedIds = [];
$(document).ready(function () {
$("#{{section_id}} #{{self.attrs.id}}").select2({
multiple: true,