Simple scenario.
I create a store with products I would like to filter.
I have created a filter list and a product card that displays the basic data in a grid. I wanted this product card to be in different places, so I made it a component. When I want to use the target query for the filters unfortunately nothing is displayed in the dropdown list for selection.
Of course, when the product card is not a component (when it is unlinked), this problem does not exist.
You can see this in the recording.
btw.
- just by chance an error crept in on the recording that the unlik component is not working as it should, so I had to refresh the page.
- by the way of this post another bug is that copying and pasting items doesn’t work properly. when a particular item is selected you can’t paste anything. when no item is selected, when you click cmd + v it pastes to the bottom.
Maybe it would be a good idea to introduce a new property “value” in the components here. And for example, link it under custom css id. Then it could be referred to which product card to select.
Admittedly, the choice of target query would have to be typed manually and not through the dropdown, or do it another way. But I think this is necessary for the very idea of compnents, so that they can be filtered, otherwise the use of the component in prioduct grids, however, misses the point and you have to stay with the traditional method.