We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/payloadcms/plugin-seo adds localized: true to SEO collection/global fields as expected.
localized: true
e.g. for a collection with localized fields, the following is included in the fields array:
fields
{ "name": "meta", "label": "SEO", "type": "group", "fields": [ { "name": "overview", "label": "Overview", "type": "ui", "admin": { "components": {} } }, { "name": "title", "type": "text", "localized": true, "admin": { "components": {} } }, { "name": "description", "type": "textarea", "localized": true, "admin": { "components": {} } }, { "name": "preview", "label": "Preview", "type": "ui", "admin": { "components": {} } } ] }
At present, textarea is not a supported field. As a result, getLocalizedFields won't pick this up:
textarea
getLocalizedFields
{ "name": "meta", "label": "SEO", "type": "group", "fields": [ { "name": "title", "type": "text", "localized": true, "admin": { "components": {} } } ] }
Add textarea support. It should be added anyway, but this is prioritized in order to support SEO fields.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://github.com/payloadcms/plugin-seo adds
localized: true
to SEO collection/global fields as expected.e.g. for a collection with localized fields, the following is included in the
fields
array:At present,
textarea
is not a supported field. As a result,getLocalizedFields
won't pick this up:Add
textarea
support. It should be added anyway, but this is prioritized in order to support SEO fields.The text was updated successfully, but these errors were encountered: