File

packages/components/eui-input-text/eui-input-text.component.ts

Description

A custom input text component that extends InputDirective and provides additional functionality such as validation states, clearable input, and loading states.

Extends

InputDirective

Implements

OnInit OnDestroy DoCheck

Metadata

Index

Methods
Inputs
Accessors

Constructor

constructor()

Inputs

isInvalid
Type : boolean, BooleanInput
Default value : null, { transform: booleanAttribute }

Gets or sets the invalid state of the input When used with NgControl, this state is automatically managed based on control state

disabled
Type : boolean
euiDanger
Type : boolean
Default value : false
euiDisabled
Type : boolean
Default value : false
placeholder
Type : string | null
readonly
Type : any

Methods

getCssClasses
getCssClasses(rootClass: string)
Parameters :
Name Type Optional
rootClass string No
Returns : string

Accessors

class
getclass()

Gets the CSS classes for the component, including validation state classes

Returns : string

results matching ""

    No results matching ""