form-graph
    Preparing search index...

    Function Controller

    • Subscribe to one field, render nothing when the field is inactive in the current branch.

      The graph form types value/meta from the graph's own registry:

      <Controller graph={imageHub} name="cfgScale" render={({ value, meta }) => ...} />

      Type Parameters

      • G extends AnyGraph
      • K extends string

      Parameters

      Returns ReactElement<any, string | JSXElementConstructor<any>> | null

    • Subscribe to one field, render nothing when the field is inactive in the current branch.

      The graph form types value/meta from the graph's own registry:

      <Controller graph={imageHub} name="cfgScale" render={({ value, meta }) => ...} />

      Type Parameters

      • Value = unknown
      • Meta = unknown

      Parameters

      Returns ReactElement<any, string | JSXElementConstructor<any>> | null