Skip to content

Bug: Unable to delete files once upload - AI chatbotΒ #18298

@LTan-101104

Description

@LTan-101104

Bug Description

In the upload functionality for AI chatbot, once a file is uploaded, it cannot be deleted even though trying to click 'X' icon.
Environment: local, self-hosted
See attached video for better description:

Twenty.demo.upload.bug.mov

Expected behavior

When click the 'X', files should be removed/ disappear from the chat instead of directing to its URL.

Technical inputs

Very likely because of the nested component of this file preview UI component. The 'X' icon is nested within a StyledLink component and thus remove event cannot be triggered properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    πŸ”– Planned

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions