Skip to content

Conversation

@NakataCode
Copy link
Contributor

@NakataCode NakataCode commented Nov 14, 2025

Problem:

When programmatically changing the selected property on a ToolbarSelectOption, the ToolbarSelect component's display was not updating to reflect the change.

This occurred because the ToolbarSelect was not invalidating and re-rendering when its child options' properties changed.


Solution:

  • Added invalidateOnChildChange: true to the options slot decorator in ToolbarSelect to trigger re-rendering when child ToolbarSelectOption properties change
  • Also added cypress test

Fixes: #12619

@ui5-webcomponents-bot
Copy link
Collaborator

ui5-webcomponents-bot commented Nov 14, 2025

@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview November 14, 2025 11:14 Inactive
@NakataCode NakataCode marked this pull request as ready for review November 14, 2025 11:16
@NakataCode NakataCode changed the title fix(ui5-toolbar-select): sync value when option selected property changes programmatically fix(ui5-toolbar-select): add invalidateOnChildChange Nov 27, 2025
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview November 27, 2025 12:20 Inactive
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.

[ToolbarSelect]: ToolbarSelect display value does not display selected option

3 participants