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
I created a singleton collection and added a M2O relationship from another collection to it. I enabled both the Select and Create Buttons in the interface settings of that relationship field. When I try to select an existing singleton item I see a plank panel and cannot select anything, even though there is a singleton item created. When I click on Create button I am able to create a new item in the singleton collection. I can see that there is more than 1 item in singleton when querying the db directly.
To Reproduce
create a singleton collection
add a M2O relationship from another collection to it
enable both the Select and Create Buttons in the interface settings of that relationship field
create a singleton item
(optional) try to Select that singleton item from related collection
click on Create button and add a new item
query the singleton collection
Errors Shown
None
What version of Directus are you using?
9.22.1
What version of Node.js are you using?
18.12.1
What database are you using?
Postgres 14 on RDS
What browser are you using?
Edge
How are you deploying Directus?
on a Ubuntu server
The text was updated successfully, but these errors were encountered:
adanielyan
changed the title
Enabling Create Button on M2O rel allows creation of new records on singleton collection
Enabling Create Button on M2O interface allows creation of new items on singleton collection
Jan 10, 2023
adanielyan
changed the title
Enabling Create Button on M2O interface allows creation of new items on singleton collection
Enabling Create Button on M2O interface allows creation of new items in singleton collection
Jan 10, 2023
Describe the Bug
I created a singleton collection and added a M2O relationship from another collection to it. I enabled both the Select and Create Buttons in the interface settings of that relationship field. When I try to select an existing singleton item I see a plank panel and cannot select anything, even though there is a singleton item created. When I click on Create button I am able to create a new item in the singleton collection. I can see that there is more than 1 item in singleton when querying the db directly.
To Reproduce
Errors Shown
None
What version of Directus are you using?
9.22.1
What version of Node.js are you using?
18.12.1
What database are you using?
Postgres 14 on RDS
What browser are you using?
Edge
How are you deploying Directus?
on a Ubuntu server
The text was updated successfully, but these errors were encountered: