Skip to content
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

feat(ui5-input): introduce new SuggestionGroupItem #3248

Merged
merged 5 commits into from
Jun 9, 2021

Conversation

ilhan007
Copy link
Member

@ilhan007 ilhan007 commented May 13, 2021

Introduce a dedicated component SuggestionGroupItem to split the suggestions into groups. Previously the app developers had to use the standard SuggestionItem and set its "group" property. But, as the group item do not have most of the interactive features, we decided to introduce dedicated component for the purpose. Related to: #3107

BREAKING_CHANGE: The "group" property of the SuggestionItem is removed, use the SuggestionGroupItem component to create grouping as follows:

<ui5-input show-suggestions>
  <ui5-suggestion-group-item text="Group #1"></ui5-suggestion-group-item>
  <ui5-suggestion-item text="Item #1"></ui5-suggestion-item>
  <ui5-suggestion-item text="Item #2"></ui5-suggestion-item>
</ui5-input>

@ilhan007 ilhan007 requested review from fifoosid and MapTo0 May 13, 2021 14:21
@ilhan007 ilhan007 mentioned this pull request May 14, 2021
@ilhan007 ilhan007 requested a review from a team May 14, 2021 08:57
@ilhan007 ilhan007 merged commit 39ccf7b into master Jun 9, 2021
@ilhan007 ilhan007 deleted the input-group-suggestion-item branch June 9, 2021 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants