(this is not a new RFC, it's an update to the existing #42)
The pluginOptions key is intended for any plugin to add options to any attribute. Custom fields on the other hand should only apply options to attribute’s with type: "customField".
We want to provide a more native-like interface. pluginOptions looks strange since other plugins (for example i18n) can add options there as well. The custom fields’ options should be more isolated.
Therefore we introduce an options object at the root of the custom field attribute object.
(this is not a new RFC, it's an update to the existing #42)
The
pluginOptions
key is intended for any plugin to add options to any attribute. Custom fields on the other hand should only apply options to attribute’s withtype: "customField"
.We want to provide a more native-like interface.
pluginOptions
looks strange since other plugins (for example i18n) can add options there as well. The custom fields’ options should be more isolated.Therefore we introduce an options object at the root of the custom field attribute object.