Bug Report
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.
Bug Report
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
},
Detailed Description
I'm using the latest available Payload version from npm and my Browser is Google Chrome.