Input

Inputs that accept typed input from users

Contents

Max length

Input fields can have a maximum character length. It is typically used for number inputs like phone numbers and verification codes, as well as limiting the length of long descriptions.

If the input has a max length of 1, the text will be centered within the input.

Inputs in Max length
maxLength ?: number
Also set in this example
control : FormControl<T>
Outputs
iconEndClick ?: any = new EventEmitter<MouseEvent>()
iconStartClick ?: any = new EventEmitter<MouseEvent>()
onBlur ?: any = new EventEmitter<void>()
onFocus ?: any = new EventEmitter<void>()