Make map nodes selectable and stylish
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-04-05 15:03:18 +02:00
parent 12c43e9a00
commit ed420d5ff1
3 changed files with 121 additions and 95 deletions

View File

@ -3,14 +3,14 @@ import { CollectionConfig } from 'payload/types';
const Products: CollectionConfig = {
slug: 'products',
admin: {
useAsTitle: 'title',
useAsTitle: 'name',
},
access: {
read: () => true,
},
fields: [
{
name: 'title',
name: 'name',
type: 'text',
required: true,
},