Skip to content

fix(plugin-seo): add localized property to MetaTitleComponent #12751

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

Merged
merged 2 commits into from
Jul 13, 2025

Conversation

Patrickroelofs
Copy link
Contributor

@Patrickroelofs Patrickroelofs commented Jun 10, 2025

What?

I noticed the plugin-seo exported field component MetaTitleComponent was missing a localized field property in the UI. Localization is working, it just wasnt represented in the UI

Why?

This improves the localization UI for plugin-seo

How?

The localized prop wasn't being passed along to the Label component

This implementation is a direct copy of the implementation in the MetaDescription
https://github.com/payloadcms/payload/blob/main/packages/plugin-seo/src/fields/MetaDescription/MetaDescriptionComponent.tsx

Screenshot of issue:
image

@paulpopus
Copy link
Contributor

@Patrickroelofs You might need to merge with main again as it looks like CI is stuck

@Patrickroelofs
Copy link
Contributor Author

@paulpopus Done!

@paulpopus paulpopus enabled auto-merge (squash) July 13, 2025 12:34
@paulpopus paulpopus merged commit d213c91 into payloadcms:main Jul 13, 2025
154 of 158 checks passed
@Patrickroelofs Patrickroelofs deleted the fix/plugin-seo-meta-title branch July 13, 2025 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants