formengine
formengine copied to clipboard
How to remove or hide “Templates” category
Is it possible to remove or hide the “Templates” category?
It is currently not possible to hide or delete this category (without hacks). We have added a task to our backlog to manage the list of components.
Thank you!
Hi @AlexandroMunera,
It's possible now (https://formengine.io/documentation/custom-components#hidden-component ):
const view = new BuilderView(components)
.withPaletteFilter(({category, model}) => {
return !(category === 'templates' || model.type === 'RsAutoComplete')
})