Is it possible to remove elements from the builder? #4806
-
Is it possible to remove the default components from the builder, or to modify them? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I figured it out |
Beta Was this translation helpful? Give feedback.
I figured it out
The way it is described here is false, using
disabled: ['key']
doesn't do anything. Probably just a bug that will be fixed, but until then, here is a workaround:Formio.builder(document.getElementById('builder'), { },{ builder: { basic: { components: { textfield: false } } } })
By setting the
builder.<category>.components.<componentName>
to false, it hides the component from the builder sidebar.