-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(ui5-segmented-button): rename mode
to selectionMode
#8761
Conversation
mode
to selectionMode
The breaking change would be about the changing the name of the |
Hi @tsanislavgatev |
The issue will be fixed in https://github.com/SAP/ui5-webcomponents/pull/8869/files |
Change the enum name from
SegmentedButtonMode
toSegmentedButtonSelectionMode
.The options in the enum are changed from
SingleSelect
andMultiSelect
toSingle
andMultiple
.The
mode
property ofSegmentedButton
is changed toselectionMode
.Also deleted deprecated getter -
selectedItem
and deprecated event detailselectedItem
.BREAKING CHANGE: The mode property is changed to
SelectionMode
and the values it take fromSingleSelect
andMultiSelect
toSingle
andMultiple
. Also deleted deprecated getter -selectedItem
and deprecated event detailselectedItem
and now can be used with theselectedItems
getter andselectedItems
event detail.Previously the application developers could set the selection mode as follows:
Now the application developers could set the selection mode as follows:
Related to: #8461