aceUICategorization

Categorize content using the aceCategorization aspect.

Minion

There are two types of categorization structures supported, a predefined tree structure, displayed in a tree-view where categories are selectable, and a more dynamic flat structure, displayed in a text-input like component with auto-completion of categories.

Configuration

Attributes Description Default
"autoCompletion" boolean

Enable the auto completion of categories
true
"treePreloadDepth" number

The number of levels in a categorization tree that gets loaded on initialization
1
"treeMaxHeight" number

Maximum height of a category tree, expanding further will cause a scroll-bar to appear
500
"requiresEntity" array

List of categorizations that needs at least one entity value to be set
[]

Localization

This widget has localization support.

Expected domain objects

This widget expects a single domain object handling the aceCategorization type

Example template json

{
  "label": "Categorization",
  "widget": "aceUICategorization",

  "config": {
    "autoCompletion": true,
    "treePreloadDepth": 1,
    "treeMaxHeight": 500
  },

  "domainObject": "aceCategorization"
}