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: 14 November, 2024