Function type for filtering which document types can be created from a reference field.
The creationTypeFilter specifically controls the types available when clicking "Create new" in the reference input.
creationTypeFilter
This is distinct from the filter option, which controls which existing documents appear in search results.
filter
Information about the current document and field location
Array of type options from the reference field's to configuration
to
Filtered array of type options that should be available for creation
Function type for filtering which document types can be created from a reference field.
The
creationTypeFilterspecifically controls the types available when clicking "Create new" in the reference input.This is distinct from the
filteroption, which controls which existing documents appear in search results.