Skip to content

Broadcast advanced-select:change from the root element - #14

Merged
ulsyemr merged 2 commits into
MehmetCelik4:mainfrom
ulsyemr:feat/root-change-event
Aug 12, 2026
Merged

Broadcast advanced-select:change from the root element#14
ulsyemr merged 2 commits into
MehmetCelik4:mainfrom
ulsyemr:feat/root-change-event

Conversation

@ulsyemr

@ulsyemr ulsyemr commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Adds a second event so host apps can react to a selection without digging
through the DOM, and fixes a case where no event fired at all.

What changes

dispatchValueChange now also dispatches advanced-select:change on the root
element, bubbling, carrying the whole selection:

{ name: "record[item_ids][]", value: ["7", "3"], options: [...] }

@ulsyemr
ulsyemr merged commit ad7f210 into MehmetCelik4:main Aug 12, 2026
1 check passed
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