Skip to content

API reference > @kontsedal/olas-react > UseFieldInputOptions

UseFieldInputOptions type ​

Options for useFieldInput. A field whose value is not a string needs transform.

Signature:

typescript
type UseFieldInputOptions<T> = {
  transform?: FieldTransform<T>;
  name?: string;
};

References: FieldTransform

Released under the MIT License.