-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Description
Property value cannot be cleaned up.
Steps to reproduce
- Configure "global" collection with localized property as following.
import { GlobalConfig } from 'payload/types';
export const globalCollection: GlobalConfig = {
slug: 'globalCollection',
label: 'Global Collection',
fields: [
{
name: 'someProperty',
type: 'text',
localized: true,
},
],
};
- Configure two locales for CMS.
locales: ['en', 'da-DK']
- Go to CMS and fill up this property with some data for any locale.
- Save document.
- Reload page to make sure property value was saved.
- Cleanup property value.
- Save document.
- Reload page again.
Current Behavior
You will see that property data wasn't removed and still saved. It is possible to change value but not cleanup. The same behavior present in other property types, not only for "text".
Expected result
It should be possible to empty property data.
liamrohan
Metadata
Metadata
Assignees
Labels
No labels