Skip to content

[6.x] Ability to set an id for the checkboxes and being unique - #15172

Closed
SteJW wants to merge 1 commit into
statamic:6.xfrom
SteJW:fix/unique-id-checkboxes
Closed

[6.x] Ability to set an id for the checkboxes and being unique#15172
SteJW wants to merge 1 commit into
statamic:6.xfrom
SteJW:fix/unique-id-checkboxes

Conversation

@SteJW

@SteJW SteJW commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Made a small PR for fixing collisions between checkboxes. They sometimes had the same id, because useId was being generated automatically by Vue. This created names like "reka-v-52". With having multiple bard sets and widgets, this caused the checkboxes to unclickable and/or enable a totally other checkbox.

Not the id looks like "field_page_content_2_attrs_values_page_builder_6_card_rounded_corners_0"

@SteJW SteJW changed the title Ability to set an id for the checkboxes and being unique [6.x] Ability to set an id for the checkboxes and being unique Aug 12, 2026
@jasonvarga

Copy link
Copy Markdown
Member

Thanks for this. I think I'm going to make sure it gets folded into #15139 since they overlap pretty hard.

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.

2 participants