ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

fix(ui5-search-field): add scope-value property

Open MapTo0 opened this issue 2 months ago • 1 comments

We received stakeholder feedback that selecting search scopes wasn’t very app-friendly. To address this, we updated the interaction model by adding a value property to the search-scope component and a scope-value property to the Search component. These now define the currently selected search scope.

<ui5-search-field scope-value="apps">
	<ui5-search-scope text="All" value="all" slot="scopes"></ui5-search-scope>
	<ui5-search-scope text="Apps" value="apps" slot="scopes"></ui5-search-scope>
	<ui5-search-scope text="Products" value="products" slot="scopes"></ui5-search-scope>
</ui5-search-field>

MapTo0 avatar Dec 11 '25 14:12 MapTo0

🧹 Preview deployment cleaned up: https://pr-12795--ui5-webcomponents.netlify.app

ui5-webcomponents-bot avatar Dec 11 '25 14:12 ui5-webcomponents-bot

:tada: This PR is included in version v2.18.0-rc.1 :tada:

The release is available on v2.18.0-rc.1

Your semantic-release bot :package::rocket:

ui5-webcomponents-bot avatar Dec 18 '25 08:12 ui5-webcomponents-bot