Skip to content
Andrei Fangli edited this page Sep 3, 2023 · 2 revisions
API / Input<TValue> component

DEPRECATED!

In future versions this component will be removed. This was only added to handle the IFormFieldViewModel.isFocused, however this is not something view models should handle.


A helper component for binding the focus events to the field.

<Input field={...} ... />

Template Parameters

  • TValue: the type of values the field contains.

Component Props

interface IInputProps<TValue> extends DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> {
    readonly field: IFormFieldViewModel<TValue>;
}

Extends standard HTML input props

Clone this wiki locally