Widget `relation`, default value not set, if `multiple` is `true`
samtrion opened this issue · comments
When I use the following configuration, the default
value is not taken for new posts. If I set multiple
to false
, it works as aspected.
- label: Authors
name: authors
widget: relation
i18n: duplicate
collection: data-authors
value_field: "id"
search_fields: ["id", "name"]
display_fields: ["name"]
multiple: true
min: 1
max: 3
default: "default"
Just shipped v0.13.1 to address this and other issues 🩹