FieldElementProps
Type that defines the element properties of a field.
Definition
FieldElementProps
object
name
string
autoFocus
boolean
ref
QRL<
(element:
>FieldElement
) =>void
onInput$
QRL<
(event:
>FieldEvent
, element:FieldElement
) =>void
onChange$
QRL<
(event:
>FieldEvent
, element:FieldElement
) =>void
onBlur$
QRL<
(event:
>FieldEvent
, element:FieldElement
) =>void
Explanation
The properties must be passed to an HTML <input />
, <textarea />
or <select />
element. It is intended to use the spread syntax for this.
<input {...props} type="text" />