payload icon indicating copy to clipboard operation
payload copied to clipboard

Collapsible and Row field cannot be localized

Open AlessioGr opened this issue 2 years ago • 2 comments

Describe the Bug

{
  type: 'collapsible',
  fields: [
    {
      name: 'collapsibleFieldText',
      type: 'text',
    },
  ],
  label: 'Collapsible Field',
  localized: true,
},

This is not localized. Happens for both Collapsible and Row fields.

If this is intentional, there should be a typescript error when using the localized property for those fields - similar to unnamed tab fields.

Payload Version

2.6.0

AlessioGr avatar Jan 08 '24 15:01 AlessioGr

Should not be able to localize collapsible fields, but I believe group fields do work as localized. Right?

jmikrut avatar Jan 08 '24 19:01 jmikrut

Whoops I meant row fields, not groups fields. Corrected it

AlessioGr avatar Jan 08 '24 19:01 AlessioGr

🚀 This is included in version v3.8.0

github-actions[bot] avatar Dec 17 '24 02:12 github-actions[bot]

This issue has been automatically locked. Please open a new issue if this issue persists with any additional detail.

github-actions[bot] avatar Dec 18 '24 04:12 github-actions[bot]