SAP / ui5-webcomponents

UI5 Web Components - the enterprise-flavored sugar on top of native APIs! Build SAP Fiori user interfaces with the technology of your choice.
https://sap.github.io/ui5-webcomponents/
Apache License 2.0
1.57k stars 268 forks source link

[component name | framework | build | icons | theming | localization | i18n | typescript]:SuggestionItem #10234

Closed Garima123639 closed 14 hours ago

Garima123639 commented 1 day ago

Bug Description

SuggestionItem used within Input component has description prop removed which leads to loss of information in version ^2.3.0 compared to 1.20.0 which had this attribute

Affected Component

Input and SuggestionItem

Expected Behaviour

It should allow to give description attribute

Isolated Example

No response

Steps to Reproduce

  1. Compare Input with suggestionItem in the version 1 and 2
  2. ...

Log Output, Stack Trace or Screenshots

No response

Priority

None

UI5 Web Components Version

2.3.0

Browser

Chrome, Edge, Firefox, Safari

Operating System

No response

Additional Context

No response

Organization

No response

Declaration

ivoplashkov commented 14 hours ago

Hello @Garima123639,

The description prop for SuggestionItem was intentionally removed starting with version 2.0.0. This was part of a broader update to make the component more flexible and customizable.

For details on how to implement custom suggestions, please refer to https://sap.github.io/ui5-webcomponents/components/Input/#custom-suggestions

Best regards, Ivaylo