Skip to Content
APIType AliasesType Alias: InputFieldProps<TFieldValues>

Hero Hook Form API v2.15.0


Hero Hook Form API / InputFieldProps

Type Alias: InputFieldProps<TFieldValues>

InputFieldProps<TFieldValues> = FieldBaseProps<TFieldValues, string> & WithControl<TFieldValues> & object

Defined in: fields/InputField.tsx:23 

Props for the InputField component.

Type Declaration

inputProps?

optional inputProps: InputPassthroughProps

transform()?

optional transform: (value) => string

Parameters

value

string

Returns

string

Type Parameters

TFieldValues

TFieldValues extends FieldValues

The form data type