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

MultiInput web-components-react 2.3.0 typescript: onSelectionChange isn't fired #10513

Open
1 task done
jakobmagiera opened this issue Jan 10, 2025 · 2 comments
Open
1 task done
Labels
bug This issue is a bug in the code SAP Signavio SAP Signavio TOPIC RL

Comments

@jakobmagiera
Copy link

Bug Description

I have a MultiInput with a SuggestionItemCustom (also reproducible with SuggestionItem). When you search for "Gra" and select the suggested person "Graham" by clicking, then remove the chip and do the same search and click, the selection has no effect and the chip isn't added to the MultiInput because onSelectionChange isn't fired.

Affected Component

MultiInput

Expected Behaviour

onSelectionChange should always trigger when the value changes, even if the same value was selected before but removed again.

Isolated Example

https://stackblitz.com/edit/ui5wcr-at-nc9jgeyy?file=src%2FApp.tsx

Steps to Reproduce

  1. Search for "Gra"
  2. Click on suggestion "Graham"
  3. Remove the added chip
  4. search again for "Gra"
  5. Click on suggestion "Graham"
  6. no chip is added

Log Output, Stack Trace or Screenshots

No response

Priority

None

UI5 Web Components Version

2.3.0

Browser

Chrome

Operating System

MacOS

Additional Context

No response

Organization

SAP Signavio

Declaration

  • I’m not disclosing any internal or sensitive information.
@jakobmagiera jakobmagiera added the bug This issue is a bug in the code label Jan 10, 2025
@ilhan007
Copy link
Member

ilhan007 commented Jan 10, 2025

Hi colleagues @SAP/ui5-webcomponents-topic-rl the issue is reproducible with the provided example and steps (interesting addition is that with noTypeahead set, the behaviour does not occur, so it has to be connected).

@ilhan007
Copy link
Member

ilhan007 commented Jan 10, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug in the code SAP Signavio SAP Signavio TOPIC RL
Projects
Status: New Issues
Development

No branches or pull requests

2 participants