title | issue |
---|---|
Allow custom entities to be referenced in custom fields |
NEXT-22759 |
- Added
custom-fields-aware
boolean flag toentity
xml definition so that custom entities can opt in to be referenced via custom fields. - Added required
label-property
attribute toentity
xml definition when thecustom-fields-aware
flag is set to true, to specify which field should be used as a label in the administration when selecting the custom entity via a custom field.
- Changed the
sw-custom-field-type-entity
component to add custom entities when they have thecustom-fields-aware
flag set to true with the corresponding label property.