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: 16 April, 2024
Found something wrong, missing, or unclear on this page?
Raise an issue in our repo.