createFieldHierarchies Function
Parses a list of Field objects into a list of FieldHierarchy.
createFieldHierarchies(fields: Field[], ignoreCategories?: Boolean): FieldHierarchy[]
Parameter | Type | Description |
---|---|---|
fields | Field[] | |
ignoreCategories | Boolean | Enables adding all of the nestedFields to parent field's childFields without considering categories. |
Returns - FieldHierarchy[]
Defined in
Last Updated: 30 November, 2023