Skip to content

fix(states-editor): make 'merge down to provinces' checkbox visible#6

Merged
barrulus merged 1 commit into
mainfrom
fix/states-merge-down-checkbox-hidden
Jun 9, 2026
Merged

fix(states-editor): make 'merge down to provinces' checkbox visible#6
barrulus merged 1 commit into
mainfrom
fix/states-merge-down-checkbox-hidden

Conversation

@barrulus

@barrulus barrulus commented Jun 9, 2026

Copy link
Copy Markdown
Owner

Problem

The Merge down to provinces option (PR #4) shipped its descriptive text but no usable checkbox — only the label rendered, so the feature couldn't be toggled.

Cause

public/index.css hides every raw checkbox:

input[type="checkbox"]:not(.native) { display: none; }

Visible checkboxes must opt in via .native (a normal checkbox) or the .checkbox + .checkbox-label pattern. The new control had no class, so it was display:none while its <span> text still showed.

Fix

  • Add class="native" to the checkbox (the convention used elsewhere, e.g. burg-group-editor.js).
  • Bump the states-editor.js dynamic-import cache-bust token ?v=1.122.12?v=1.122.13 so clients re-fetch the updated file.

FMG hides every raw checkbox via 'input[type=checkbox]:not(.native){display:none}'.
The new merge-down checkbox had no class, so only its label text rendered and
the control was unusable. Add class="native" (the convention used elsewhere,
e.g. burg-group-editor) so it shows as a normal checkbox. Bump the states-editor
dynamic-import cache-bust token to 1.122.13 so clients re-fetch.
@netlify

netlify Bot commented Jun 9, 2026

Copy link
Copy Markdown

Deploy Preview for bazgaars-fmg ready!

Name Link
🔨 Latest commit 28539c9
🔍 Latest deploy log https://app.netlify.com/projects/bazgaars-fmg/deploys/6a287c2d8b9a78000880d311
😎 Deploy Preview https://deploy-preview-6--bazgaars-fmg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@barrulus barrulus merged commit 9701ad4 into main Jun 9, 2026
6 of 7 checks passed
@barrulus barrulus deleted the fix/states-merge-down-checkbox-hidden branch June 9, 2026 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant