formengine icon indicating copy to clipboard operation
formengine copied to clipboard

How to remove or hide “Templates” category

Open AlexandroMunera opened this issue 1 year ago • 1 comments

Is it possible to remove or hide the “Templates” category?

image

AlexandroMunera avatar Aug 13 '24 04:08 AlexandroMunera

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!

optimajet avatar Aug 14 '24 12:08 optimajet

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')
  })

ashalugin avatar Aug 29 '25 07:08 ashalugin