Skip to content

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

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

Merged
merged 3 commits into from
Jan 30, 2025

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.

@elenastoyanovaa
Copy link
Contributor

@ilhan007 I am not sure that you saw, but the build is failing for the PR.

@elenastoyanovaa elenastoyanovaa self-requested a review January 28, 2025 13:40
@ilhan007 ilhan007 closed this Jan 30, 2025
@ilhan007 ilhan007 reopened this Jan 30, 2025
@ilhan007 ilhan007 merged commit c1206ae into main Jan 30, 2025
10 checks passed
@ilhan007 ilhan007 deleted the fix-multi-input-token-delete branch January 30, 2025 16:24
@ui5-webcomponents-bot
Copy link
Collaborator

🎉 This PR is included in version v2.7.0 🎉

The release is available on v2.7.0

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

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