Skip to content

API Reference / @gtkx/forms / UseControllerProps

Type Alias: UseControllerProps<TFieldValues, TName, TTransformedValues> ​

UseControllerProps<TFieldValues, TName, TTransformedValues> = object

Defined in: node_modules/.pnpm/react-hook-form@7.86.0_react@19.2.8/node_modules/react-hook-form/dist/types/controller.d.ts:19

Type Parameters ​

TFieldValues ​

TFieldValues extends FieldValues = FieldValues

TName ​

TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>

TTransformedValues ​

TTransformedValues = TFieldValues

Properties ​

control? ​

optional control?: Control<TFieldValues, any, TTransformedValues>

Defined in: node_modules/.pnpm/react-hook-form@7.86.0_react@19.2.8/node_modules/react-hook-form/dist/types/controller.d.ts:24


defaultValue? ​

optional defaultValue?: FieldPathValue<TFieldValues, TName>

Defined in: node_modules/.pnpm/react-hook-form@7.86.0_react@19.2.8/node_modules/react-hook-form/dist/types/controller.d.ts:23


disabled? ​

optional disabled?: boolean

Defined in: node_modules/.pnpm/react-hook-form@7.86.0_react@19.2.8/node_modules/react-hook-form/dist/types/controller.d.ts:25


exact? ​

optional exact?: boolean

Defined in: node_modules/.pnpm/react-hook-form@7.86.0_react@19.2.8/node_modules/react-hook-form/dist/types/controller.d.ts:26


name ​

name: TName

Defined in: node_modules/.pnpm/react-hook-form@7.86.0_react@19.2.8/node_modules/react-hook-form/dist/types/controller.d.ts:20


rules? ​

optional rules?: Omit<RegisterOptions<TFieldValues, TName>, "valueAsNumber" | "valueAsDate" | "setValueAs" | "disabled">

Defined in: node_modules/.pnpm/react-hook-form@7.86.0_react@19.2.8/node_modules/react-hook-form/dist/types/controller.d.ts:21


shouldUnregister? ​

optional shouldUnregister?: boolean

Defined in: node_modules/.pnpm/react-hook-form@7.86.0_react@19.2.8/node_modules/react-hook-form/dist/types/controller.d.ts:22