A text input.
Props
Name
Description
Type
Default
disabled
If the input is disabled.
booleanor
undefined
inputProps
Pass props directly to the input.
undefinedor
{ [x: string]: any; }
invalid
If the input is currently invalid.
booleanor
undefined
name
The name of the input.
string
placeholder
The placeholder for the input.
string
readonly
If the input is editable.
booleanor
undefined
value
The current value of the field.
string
Events
Event
Detail
Description
enter
any
Emitted on keyup of enter, if no modifier keys are held.
fieldchange
FieldChange<string, string>
Emitted when the value of the field is changed.