-
Notifications
You must be signed in to change notification settings - Fork 275
[Input][SuggestionItem]: input
event doesn't include selected suggestion item information
#11182
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
Comments
Hi @bonnieso, With v2 of Web Components, the Best, |
Hi @s-todorova , You aren't able to achieve the same results of getting the suggestion item as before though because the change events only fire when a selection has changed. In our use case, we would need the event to fire every time a suggestion item is selected like before. So even if the same suggestion item was selected as before, we would still need the event to fire, but with Thanks, |
Hello @SAP/ui5-webcomponents-topic-rl, Can you take a look at this and consult on how the same behavior as the old Problem with the approach described in the migration guide can be observed on the sample here.
In the old version with the Best, |
This issue has been closed. To reopen, just leave a comment! |
🎉 This issue has been resolved in version v2.10.0-rc.1 🎉 The release is available on v2.10.0-rc.1 Your semantic-release bot 📦🚀 |
Bug Description
The
selection-change
event seems to be the only event on the Input component that providesitem
information for the suggested item. The documentation states that an event is fired when a user navigates to a suggestion item via the ARROW keys, as a preview, before the final selection so the only way to get theitem
information is through this event. When a mouse user selects a suggestion item, there is no way to capture the information of the suggested item. In v1 of this component, thesuggestion-item-select
event exposed theitem
information. Now in v2, there is no way to get theitem
information of the suggested item that was selected. It is expected that theinput
event would also include information on the suggested item since it is triggered when a suggestion item has been selected.Affected Component
Input
Expected Behaviour
Expose the
item
information on theinput
event or expose another event similar tosuggestion-item-select
from v1 of the Input element.Isolated Example
https://sap.github.io/ui5-webcomponents/components/Input/
Steps to Reproduce
Log Output, Stack Trace or Screenshots
No response
Priority
Very High
UI5 Web Components Version
2.8.0
Browser
Chrome
Operating System
No response
Additional Context
No response
Organization
SAP SuccessFactors
Declaration
The text was updated successfully, but these errors were encountered: