mirror of
https://github.com/we-promise/sure.git
synced 2026-05-29 23:39:03 +00:00
DS::Toggle already renders its own `hidden_field_tag name, unchecked_value, id: nil` (app/components/DS/toggle.html.erb:2), so the explicit one I added was duplicating the unchecked-value field — and was the root cause of the ID collision the prior commit worked around with `id: nil`. Removing the redundant line is the correct fix; live-tested via Playwright (toggle persists, off-state arrives as "0" through the DS-provided hidden).