Skip to content

🚀 - Enable multiple-image selection in browse images tool #1827

@hatsantos

Description

@hatsantos

Description

When using the "browse images" feature, the related configuration options do not allow setting multiple: true. As a result, users can only select one image per browse action.

While the file-attachment component supports multiple files (via TUI_ATTACH_FILES_OPTIONS), this isn’t reflected in the image-browse UI:

{
  provide: TUI_ATTACH_FILES_OPTIONS,
  useValue: { accept: ACCEPTED_DOCUMENT_FILE_EXTENSIONS, multiple: true },
},

Note: Dragging and dropping multiple image files works correctly, multiple images are added at once. However, using the browse dialog still only allows selecting a single image.

My suggestion would be to add another provider token TUI_ATTACH_IMAGES_OPTIONS or make TUI_ATTACH_FILES_OPTIONS reflect the multiple option, or add another way via config to allow multiple selection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions