When you want to remove a file by clicking the "Remove" button, it is opening a modal asking for "Add or select media". As a result, once you set files you can never remove them from your content.

I don't know what's happening, but there is something wrong happening here.

Steps to reproduce:

- Configure a file field to use the file_browser (Multivalued allowed)
- Create a content: go to "File listing" and pick one or multiple files and select them
- The interface will list them and there are buttons to remove them
- Click on Remove on one of them
- The modal to add media will appear (WHY?) Not the expected behavior

CommentFileSizeAuthor
#2 issue-screen.png11.86 KBphjou

Comments

phjou created an issue. See original summary.

phjou’s picture

StatusFileSize
new11.86 KB
jschref’s picture

I'm seeing this issue too. The remove button sometimes removes the item, sometimes triggers the modal.

d.fisher’s picture

Version: 8.x-1.3 » 2.x-dev
Status: Active » Postponed (maintainer needs more info)

Does this issue persist on the 2.x branch? If so I agree this needs investigation!

d.fisher’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)

I'm unable to reproduce on 2.x branch. Not had a reply here so closing as outdated. If you are able to reproduce this issue on the 2.x branch please reopen with clear steps to reproduce the error. Thank you.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.