Themes

Fields/Components/es-mega-input
es-mega-input

An extra large input.

Props

Name
Description
Type
Default
disabled

If the field is disabled.

boolean
or
undefined
inputProps

Pass props directly to the input.

undefined
or
{ [x: string]: any; }
invalid

If the field is currently in an error state.

boolean
or
undefined
label

The label of the field.

string
messages

The validation messages of the field

ValidationMessages
or
undefined
name

The name of the field.

string
placeholder

The placeholder for the input.

string
readonly

If the field is editable.

boolean
or
undefined
value

The current value of the field.

string

ValidationMessages

Name
Description
Type
children
Record<number, Record<Severity, ValidationMessage[]>>
error
ValidationMessage[]
info
ValidationMessage[]
warning
ValidationMessage[]

Events

Event
Detail
Description
enter
any

Emitted on keyup of enter, if no modifier keys are held.

fieldchange
FieldChange<string>

Emitted when the value of the field is changed.