EDS4 logo
@eds/text-input
v4.0.22

TextInput

A text input to be used in form context.
Old propNew propDifferenceAlternateisDisableddisabled--htmlTypetypeDoes not support `search`, does support `tel`.In place of search, use `SearchInput`.inputAdornmentStartadornmentStartOnly supports string, i.e. no `ReactNode`Use `RailTrack` for component adornment, or `AdornmentButton` for button adornmentinputAdornmentEndadornmentEndOnly supports string, i.e. no `ReactNode`Use `RailTrack` for component adornment, or `AdornmentButton` for button adornment
Old propNew propDifferenceAlternateWhy not supportedonClick----onMouseDown----onKeyDown----onEnterPress----onKeyPress----status-`success` and `warning` are deprecated, `error` is automatically applied when `invalid` is `true`.For `error` status, set `invalid` prop to `true`.Currently only the `error` state is supported in the EDS4 design language.isReadOnly----isHidden----id----name----icon----autoFocus----tabIndex----ariaLabel----ariaDescribedby---Not needed for table cells and automatically handled by `Field` component.ariaInvalid----ariaErrorMessageId----autoComplete----
onChangeonBluronFocusplaceholdervalue