Ai input

AI input with a single-line field, a submit button, and an optional skip text button.

Contents

The input validates on submit, so a half-typed answer is not marked invalid while it is still being written. Once errored, it re-validates on every keystroke until it is valid again.

Without validators, no space is reserved below for error messages.

Inputs in Validation
control : FormControl<string>
placeholder ?: string = ''
Outputs
onBlur ?: any = new EventEmitter<void>()
onFocus ?: any = new EventEmitter<void>()
onInputHandled ?: any = new EventEmitter<void>()
onSkip ?: any = new EventEmitter<void>()
onSubmit ?: any = new EventEmitter<void>()