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

fix(ui5-tokenizer): fix token-delete event details #10630

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ilhan007
Copy link
Member

@ilhan007 ilhan007 commented Jan 22, 2025

Fixes the token-delete event details, because currently upon clicking the "X" of a token the token-delete event provides wrong token, actually undefined (as this.tokens returns the slot HTML elements, while this._tokens gets the slotted elements, the tokens, later correctly passed with the event as event.details.tokens).

Fixes: #10612

Before: consumers can't perform deletion as they don't get the token that should be deleted:
Screenshot 2025-01-22 at 17 11 12

After

Screen.Recording.2025-01-22.at.18.23.38.mov

Copy link
Member

@ivoplashkov ivoplashkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, waiting for the build to pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[MultiInput ] : Unable to deselect selected token in Multi Input component
2 participants