Hello, I am looking for how to create a field to select 2/3 options and that one of them remains in the same mongodb collection (only one list). I don't want to do it with external lists but inside the code write the options. This should be very easy, but I don't condone it working for me. Who can help me ?? Thank you in advance.
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (1)
Hello again, I solved it like this in case someone is missing:
delegacion: {
type: Select,
options: 'Colombia, Peru, Madrid, Galicia',
dataType: 'string'
},
This is inside the list and: const { Select } = require('@keystonejs/fields'); In the top of the list