Hey there. I’ve recently begun learning glide, and I’ve come across a bug since the new update. Whenever I am in an “edit form” screen, any collection I have in that screen will not allow me to delete an item. In fact, the actual delete button will just refuse to show despite the fact it is added as an available action. I have replicated this error on multiple different apps and tried on many other screens and it only seems to apply with the “edit form” screen. My app has used this functionality for a few weeks now, so I’m curious as to why it suddenly stopped working. Please let me know if I can provide any additional information that will help resolve this issue, thank you!
I can replicate this problem and will tell support about this.
Generally I don’t use collections inside edits screen, since any interactions with them (edit/delete) would mean an instant update to the database.
To me, edit screens are treated as a “limbo” environment where changes are made only when you “Save” the updates.
Hence, generally I keep collections on the details screen of the entity.
I agree with Thinh. Edit and forms screens are meant to edit an existing row and create a new one respectively. Reading another part of the database might be alright (if that), but updating or deleting other rows in the database from those screens is looking for trouble.
Support confirmed it is intended behavior.
Thank you very much for your response - I will make the appropriate adjustments to my app. Have a good one!