Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collapsible and Row field cannot be localized #4720

Closed
AlessioGr opened this issue Jan 8, 2024 · 4 comments · Fixed by #9672
Closed

Collapsible and Row field cannot be localized #4720

AlessioGr opened this issue Jan 8, 2024 · 4 comments · Fixed by #9672

Comments

@AlessioGr
Copy link
Member

AlessioGr commented Jan 8, 2024

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 AlessioGr added the status: needs-triage Possible bug which hasn't been reproduced yet label Jan 8, 2024
@AlessioGr AlessioGr changed the title Collapsible field cannot be localized Collapsible and Group field cannot be localized Jan 8, 2024
@jmikrut
Copy link
Member

jmikrut commented Jan 8, 2024

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

@AlessioGr AlessioGr changed the title Collapsible and Group field cannot be localized Collapsible and Row field cannot be localized Jan 8, 2024
@AlessioGr
Copy link
Member Author

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

Copy link
Contributor

🚀 This is included in version v3.8.0

Copy link
Contributor

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

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants