Skip to content

docs(fields.mdx): fix slugifyTitle example issues - #17811

Open
james-beston wants to merge 1 commit into
payloadcms:3.xfrom
james-beston:patch-1
Open

docs(fields.mdx): fix slugifyTitle example issues#17811
james-beston wants to merge 1 commit into
payloadcms:3.xfrom
james-beston:patch-1

Conversation

@james-beston

Copy link
Copy Markdown

Removed a redundant const on return slug and added a fallback empty string to satisfy value type.

Removed a redundant `const` on return slug and added a fallback empty string to satisfy `value` type.
@github-actions

github-actions Bot commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Pull Request titles must follow the Conventional Commits specification and have valid scopes.

Unknown scope "fields.mdx" found in pull request title "docs(fields.mdx): fix slugifyTitle example issues". Scope must match one of: cpa, claude, codemod, db-*, db-d1-sqlite, db-mongodb, db-postgres, db-vercel-postgres, db-sqlite, db-d1-sqlite, drizzle, email-*, email-nodemailer, email-resend, eslint, evals, graphql, kv, kv-redis, live-preview, live-preview-react, live-preview-vue, next, payload-cloud, plugin-cloud, plugin-cloud-storage, plugin-ecommerce, plugin-form-builder, plugin-import-export, plugin-mcp, plugin-multi-tenant, plugin-nested-docs, plugin-redirects, plugin-search, plugin-sentry, plugin-seo, plugin-stripe, richtext-*, richtext-lexical, sdk, skills, storage-*, storage-azure, storage-gcs, storage-r2, storage-vercel-blob, storage-s3, tanstack-start, translations, ui, templates, examples(/(\w|-)+)?, deps.

feat(ui): add Button component
^    ^    ^
|    |    |__ Subject
|    |_______ Scope
|____________ Type

@james-beston james-beston changed the title Update slugifyTitle example on fields.mdx docs(fields.mdx): fix slugifyTitle example issues Aug 16, 2026
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.

1 participant