Skip to content

API Reference / @gtkx/forms / UseWatchProps

Type Alias: UseWatchProps<TFieldValues> ​

UseWatchProps<TFieldValues> = object

Type Parameters ​

TFieldValues ​

TFieldValues extends FieldValues = FieldValues

Properties ​

compute? ​

optional compute?: (formValues) => TFieldValues

Parameters ​

formValues ​

TFieldValues

Returns ​

TFieldValues


control? ​

optional control?: Control<TFieldValues>


defaultValue? ​

optional defaultValue?: unknown


disabled? ​

optional disabled?: boolean


exact? ​

optional exact?: boolean


name? ​

optional name?: FieldPath<TFieldValues> | FieldPath<TFieldValues>[] | readonly FieldPath<TFieldValues>[]