Fix bug toggle button selected tag in for loop

This commit is contained in:
duongban
2021-05-26 22:14:01 +07:00
parent 1061ce12f7
commit 6264a4ba78

View File

@@ -13,7 +13,7 @@
</label> </label>
{% for tag in tags %} {% for tag in tags %}
<label for={{tag.tagName}} class="toggleButton btn btn-default btn-lg">{{tag.tagName}} &nbsp; <label for={{tag.tagName}} class="toggleButton btn btn-default btn-lg">{{tag.tagName}} &nbsp;
<input type="radio" name="type" value={{tag.id}} id={{tag.tagName}}/> <input type="radio" name="type" value={{tag.id}} id={{tag.tagName}}>
</label> </label>
{% endfor %} {% endfor %}
</div> </div>