Minor improvements to select

This commit is contained in:
Ronan Berder
2025-08-18 09:52:09 +08:00
parent 97a53f1a67
commit 29600bd3ac
5 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -240,7 +240,7 @@ toc:
listbox_attrs={"class": "scrollbar overflow-y-auto max-h-64"}
) %}
{% for i in range(0, 99) %}
<div role="option" data-value="item-{{ i }}">Item {{ i }}</div>
<div role="option" {% if i > 0 %}data-value="item-{{ i }}"{% endif %}>Item {{ i }}</div>
{% endfor %}
{% endcall %}
{% endset %}