feat: Don't make input for radio button

This commit is contained in:
2025-10-21 03:24:07 +02:00
parent 3c5ca9ae00
commit 29e9d1bd8c

View File

@@ -22,7 +22,7 @@
{% endslot %} {% endslot %}
</label> </label>
{% endif %} {% endif %}
<input class="input" <input {% if attrs.type != "checkbox" and attrs.type != "radio" %}class="input"{% endif %}
{% if attrs.required %}required{% endif %} {% if attrs.required %}required{% endif %}
{% if attrs.disabled %}disabled{% endif %} {% if attrs.disabled %}disabled{% endif %}
{% if attrs.readonly %}readonly{% endif %} {% if attrs.readonly %}readonly{% endif %}