makes sure the value titels are shown not just the ID's

This commit is contained in:
augurk
2023-01-24 15:15:42 +01:00
parent 6836f05d06
commit c8455ed31f
5 changed files with 12 additions and 29 deletions

View File

@ -2,9 +2,9 @@ import { CollectionConfig } from 'payload/types';
const Dispatches: CollectionConfig = {
slug: 'dispatches',
// admin: {
// useAsTitle: 'email',
// },
admin: {
useAsTitle: 'dispatchesCode',
},
access: {
read: () => true,
},