Skip to content

fix(ui5-upload-collection): prevent item-delete event from firing when item name is deleted #11625

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
Jun 5, 2025

Conversation

dimovpetar
Copy link
Contributor

@dimovpetar dimovpetar commented May 30, 2025

When editing a file name in the UploadCollectionItem, pressing the Del key no longer fires the 'item-delete' event.

Fixes #11592

@dimovpetar dimovpetar requested review from Stoev and a team May 30, 2025 12:20
Copy link

@Stoev Stoev left a comment

Choose a reason for hiding this comment

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

Please consider:

fix(ui5-upload-collection): prevent item delete event from firing when item name is deleted #11625

Also, if you consider of added value might add some explanatory text:

When editing a file name in the UploadCollectionItem, pressing the Del key no longer fires the 'item-delete' event.

@dimovpetar dimovpetar changed the title fix(ui5-upload-collection): item delete event is now not fired when item name is deleted fix(ui5-upload-collection): prevent item-delete event from firing when item name is deleted May 30, 2025
@dimovpetar
Copy link
Contributor Author

Please consider:

fix(ui5-upload-collection): prevent item delete event from firing when item name is deleted #11625

Also, if you consider of added value might add some explanatory text:

When editing a file name in the UploadCollectionItem, pressing the Del key no longer fires the 'item-delete' event.

Done

@dimovpetar dimovpetar requested a review from Stoev May 30, 2025 13:12
Copy link

@Stoev Stoev left a comment

Choose a reason for hiding this comment

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

Looks good.

@dimovpetar dimovpetar merged commit fe048b0 into main Jun 5, 2025
12 checks passed
@dimovpetar dimovpetar deleted the fix_uci_delete_event branch June 5, 2025 13:59
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.

[ui5-upload-collection-item]: when edit fileName, press delete will delete the file unexpectedly
3 participants