Skip to main content

Function: useFieldChildren()

useFieldChildren(parentId, options): UseQueryResult<object[], Error>

Defined in: web/lib/hooks/use-field.ts:174

Fetches child fields for a given parent field.

Parameters

parentId

string

The parent field ID

options

UseFieldChildrenOptions = {}

Query options

Returns

UseQueryResult<object[], Error>

Query result with child fields