JFL tbh
ok
@191776538205618177this worked
ok i will just delete the table then
idk why its not working
export const Posts: CollectionConfig = {
slug: 'posts',
auth: false,
admin: {
useAsTitle: 'title'
},
fields: [
{
name: 'title',
type: 'text',
label: 'Title',
required: true,
},
],
You can wipe your entire preference table or just remove the preference specific to the collection you are working with. The preferences are purely for UX purposes
i have this problem with all collections, should i delete all payload_preferences?? could this break my app?
using a combination of useAsTitle and defaultColumns will display the fields you are looking for on the table.
Also note that Payload saves your preferences in a table called
payload_preferences
and you may need to delete your specific collection's preferences in this database table to see your change
Star
Discord
online
Get dedicated engineering support directly from the Payload team.