getCategoryItems
Fetch the categorySchema for all the categories, including the ones with 0 count, then recursively collet all the child categories on the deepest level. Parse into a format that can be consumed by the combobox field
TODO: render nested categories in combobox
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
orgId Required | string | ||
hubRequestOptions Required | IHubRequestOptions |
Returns
Promise<IUiSchemaComboboxItem[]>
Function defined in common/src/core/schemas/internal/getCategoryItems.ts:13