The hidden 'false' shadow input was rendered after the checkbox, so when both were submitted the 'false' value overwrote the checkbox 'true' in the resulting params map. Move the hidden input before the checkbox so the checked value wins (matching the core_components checkbox pattern). |
||
|---|---|---|
| .. | ||
| components | ||
| controllers | ||
| live | ||
| plugs | ||
| endpoint.ex | ||
| live_helpers.ex | ||
| live_table_footer.ex | ||
| live_table_resource.ex | ||
| location_resolver.ex | ||
| metrics_plug.ex | ||
| router.ex | ||
| skew_t.ex | ||
| telemetry.ex | ||
| user_auth.ex | ||