Input

Inputs that accept typed input from users

Contents

Text alignment

Our inputs have the left text aligned by default. There may be cases where we use a right text aligned input field.

Input alignment

Our inputs are left aligned by default. There may be cases where we use a right aligned input field.

Inputs in Align
align ?: InputAlign = InputAlign.LEFT

Set how to horizontally align the number increment input

textAlign ?: InputTextAlign = InputTextAlign.LEFT
Also set in this example
control : FormControl<T>
type : IsAny<T> extends true ? any : [T] extends [number] ? InputType.NUMBER | InputType.NUMBER_INCREMENT : [T] extends [string] ? InputType.CURRENCY | ... 4 more ... | InputType.SEARCH : never

Declared as an `@Input()` by each concrete component, which narrows it to the types that component actually renders. Not an input on its own.

placeholder ?: string
Outputs
iconEndClick ?: any = new EventEmitter<MouseEvent>()
iconStartClick ?: any = new EventEmitter<MouseEvent>()
onBlur ?: any = new EventEmitter<void>()
onFocus ?: any = new EventEmitter<void>()