Closed Garima123639 closed 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.
Users can now define custom suggestions to include descriptions or any other additional information, offering far greater control over the content and styling of suggestion items.
This approach ensures that the component remains lightweight while empowering users to adapt it to diverse use cases.
For details on how to implement custom suggestions, please refer to https://sap.github.io/ui5-webcomponents/components/Input/#custom-suggestions
Best regards, Ivaylo
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
...
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