makes sure the value titels are shown not just the ID's
This commit is contained in:
@ -2,9 +2,9 @@ import { CollectionConfig } from 'payload/types';
|
||||
|
||||
const Dispatches: CollectionConfig = {
|
||||
slug: 'dispatches',
|
||||
// admin: {
|
||||
// useAsTitle: 'email',
|
||||
// },
|
||||
admin: {
|
||||
useAsTitle: 'dispatchesCode',
|
||||
},
|
||||
access: {
|
||||
read: () => true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user