You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.
Due to this bug I cannot use single-item relationships in the CMS, as they will not be truly modifiable by an end user. The work-around mentioned in that thread does work, but is not acceptable for a non-technical user.
I have a couple of relationship fields in a content type. They are set to "Only allow one searched item and no more." Every time I attempt to delete one of the relationships it is restored. No errors are reporting in the console, no edit locks exist, and the UI refreshes to appear that the relationship is gone, but upon a hard refresh it has returned. Here's the read out from my console:
`hero_book` updated `The Invaders: A Novel:homepage_hero_book` to `[]`.
So everything seems to have registered properly.
It is also worth noting that if I allow more than one relationship in the field I can delete and empty out the relationships as normal / as you would expect.
@gpbmike@snide et.all - I can confirm this bug. I've encountered this behavior in the past. If you can't get to it in short order and want to point me in the right direction I can try to get a PR submitted for your review.
Cross-posting this bug from the forums:
http://forums.webhook.com/t/bug-cannot-delete-single-relationship-from-content/849
Due to this bug I cannot use single-item relationships in the CMS, as they will not be truly modifiable by an end user. The work-around mentioned in that thread does work, but is not acceptable for a non-technical user.
I have a couple of relationship fields in a content type. They are set to "Only allow one searched item and no more." Every time I attempt to delete one of the relationships it is restored. No errors are reporting in the console, no edit locks exist, and the UI refreshes to appear that the relationship is gone, but upon a hard refresh it has returned. Here's the read out from my console:
You can see the update made to hero_book,
So everything seems to have registered properly.
It is also worth noting that if I allow more than one relationship in the field I can delete and empty out the relationships as normal / as you would expect.
Here is a screen recording, showing exactly what happens.
Big blocker on a current project, so hopefully this is an easy fix? Thanks!
The text was updated successfully, but these errors were encountered: