system-field
interface does not work with collection
option
#18192
Labels
system-field
interface does not work with collection
option
#18192
Describe the Bug
When trying to use the
system-field
interface (for creating options for an interface extension) thecollection
prop that is intended as an alternative to thecollectionField
to retrieve fields from that collection does not work as expected.This is due to the
form-field-interface
component passing in the fields collection by default, overriding the possible value fromfield.meta.options
.directus/app/src/components/v-form/form-field-interface.vue
Lines 11 to 28 in f016e22
The
system-fields
(plural) interface calls the propcollectionName
and it works flawlessly.To Reproduce
Create a interface extension with the following options
Create a field with the interface an observe the following error:
Directus Version
v9.25.1
Hosting Strategy
Self-Hosted (Docker Image)
The text was updated successfully, but these errors were encountered: