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
When I create a collection that has a relationship field, I'm not able to select one option.
Expected Behavior
When I set a new field relationship, the dropdown let me select the option and save my object.
Current Behavior
When I create a field with relationShip, but with hasMany set to False, I'm not able to select the object from the list dropdown
Possible Solution
Fiz the react component. Looks like a little bug.
Steps to Reproduce
1.Create a new relationship field like this one:
{
name: 'cuisineRelated',
label: 'Culinária',
type: 'relationship',
relationTo: ['cuisine', 'users'],
hasMany: false,
required: false
},
Go to admin and try to pick one option from the Cuisine collection
The dropdown list don't allow me to select the option.
Detailed Description
I'm using the latest available Payload version from npm and my Browser is Google Chrome.
Activity
jmikrut commentedon Feb 3, 2021
Hey @upcase-chefs — this is now fixed. We'll be publishing a new version of Payload for you shortly!
Thank you for the bug report!
DanRibbens commentedon Feb 4, 2021
v0.2.10 is published now and includes this fix.
feat: threads doc info through generation functions payloadcms#53 (pa…
fix: skip following code if form.emails list is empty (payloadcms#54)
fix: skip following code if form.emails list is empty (payloadcms#54)
github-actions commentedon Sep 8, 2024
This issue has been automatically locked.
Please open a new issue if this issue persists with any additional detail.