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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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

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.

2 participants