payloadcms / payloadcms/payload
Extend formBuilderPlugin fields: not persist data
Open
@paulpopus is already working on this.
Since Feb 9, 2026.
Bug
stale
- Dominant language
- TypeScript
- Stars
- 44.8k
- Forks
- 4.2k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 53
Description
Link to reproduction
Payload Version
3.0.0-beta.86
Node Version
v20
Next.js Version
15.0.0-canary.121
Describe the Bug
If I add a custom field in the plugin configuration, it displays correctly in the admin UI but the data is not persisted.
If I add the "slug" property the data is persisted but there is a typescript error because is missing in the interface FieldConfig.
Reproduction Steps
- Declare the custom field
import { fields, formBuilderPlugin } from "@payloadcms/plugin-form-builder";
import { Block } from "payload";
export const formBuilderPluginConfig = formBuilderPlugin({
redirectRelationships: ["pages"],
fields: {
hidden: {
// slug: "hidden", // <- With this prop works
labels: {
singular: 'Hidden',
plural: 'Hidden'
},
fields: [
...(fields.text as Block).fields
// Other fields
]
}
},
})
- Open the Admin UI to add the custom field
- Save
- Data is not persisted
Adapters and Plugins
"@payloadcms/db-mongodb": "beta", "@payloadcms/email-nodemailer": "beta", "@payloadcms/next": "beta", "@payloadcms/plugin-cloud-storage": "beta", "@payloadcms/plugin-form-builder": "beta", "@payloadcms/plugin-nested-docs": "beta", "@payloadcms/plugin-seo": "beta", "@payloadcms/richtext-lexical": "beta", "@payloadcms/storage-s3": "beta", "@payloadcms/ui": "beta",
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.