My App/Pages support link:
Describe the bug:
- Glide’s conditional visibility functionality seems to think that there are no items in a collection (via a relation), when in fact there are. The data editor shows the item(s), as does the collection itself.
Expected behavior:
- The “Add Attachment” button should not be visible when the collection contains items.
- The separator should be visible when the collection contains items.
- Glide should correctly recognise when a collection contains items.
How to replicate:
- Viewing as James (due to permissions), navigate to Projects > click project “VS008855” > click the edit action of “Feature-R”.
- You should now see that the “Add Attachment” button is visible at the same time as the collection, even though the button is set to only be visible when the collection’s source is empty. The separator should be visible when the “files” relation is not empty, which is false as you can see from the “scope” attachment in the collection.
Note I have since deleted the quote attachment you will see in the demo recording.
Link to demo recording: