app/components/ariadne/form/toggle/component.html.erb in ariadne_view_components-0.0.86.4 vs app/components/ariadne/form/toggle/component.html.erb in ariadne_view_components-0.0.86.5
- old
+ new
@@ -1,6 +1,6 @@
<label class="<%= style(:label, reversed:) %>">
- <input type="checkbox" class="ariadne-sr-only ariadne-peer" <%= html_attributes %>>
+ <input type="checkbox" class="<%= html_attrs[:class] %>" <%= html_attributes %>>
<span class="<%= style(size:) %>"></span>
<span class="ariadne-text-sm ariadne-font-medium ariadne-text-gray-900 dark:ariadne-text-gray-300">
<%= content %>
</span>
</label>