Repository navigation
Replies: 2 comments 2 replies
|
While the docs don't mention anything about custom fields, here is a small example: formBuilderPlugin({
fields: {
// ...
// this is of type Block
date: {
slug: 'date',
labels: {
singular: 'Date',
plural: 'Dates',
},
fields: [
{
name: 'date',
label: 'Date',
type: 'date',
},
],
},
},
}),The default fields (like text, email, etc.) have more "inner fields". You can copy them from |
0 replies
|
Thanks @dkirchhof, that worked for me. What's strange is, the type definition of a custom field for this plugin is TypeError: Cannot read properties of undefined (reading 'concat')The custom field has to be a |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I started using form builder plugin and it seems very nice.
But my question is there any ideas for adding custom fields like for file upload radio or anything ?
All reactions