Replies: 2 comments 1 reply
-
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 |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
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 ?
Beta Was this translation helpful? Give feedback.
All reactions