Score:0

Entity Browser Modal closes on Exposed Filter Submit Button

cn flag

I've set up a commerce shop that uses Entity Browser to select product images. I set up a view to display the selectable images which has an exposed filter for the filename, so the user can search for the name of an image and then select it.

The entity browser works as desired, but if the user clicks the "apply"-button of the filter, the modal closes. Same behaviour with an iframe as well.

When I set the theme to Bartik it works. When I set the theme to Olivero, the modal isn't closed, but the filter is not applied.

Would be great, if someone could point me any way to resolve this issue or just give me a hint where and how to investigate this further. Thank you very much in advance!

Score:1
cn flag

It was my fault all along, since I have overwritten views-view.html.twig in my custom theme and removed the div where the "js-view-dom-id-xxx" is set. This one is obviously needed when the exposed filter relies on AJAX.

But why it doesn't work in Olivero I didn't figure out tho.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.