generated from Tinkoff/angular-open-source-starter
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
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
Labels
No labels