interface BaseInputProps @formium/react
Props
disabled
boolean

Whether or not the field is disabled.

Required
id
string

The unique identifier of the question.

Required
name
string

The administrative key for the field.

Required
onBlur
React.FormEventHandler

Event handler invoked when input is blurred.

Required
onChange
React.FormEventHandler

Change event handler. Use event.target.value for new value.

Required
onFocus
React.FormEventHandler

Event handler invoked when input is focused.

Required
placeholder
string

Input placeholder value

required
boolean

Whether or not the field is required.

Required
value
string

Form value of the input, for controlled usage.

Required

Build forms, without the tears.