Ai textarea

AI textarea with a send button and optional attachment and voice input buttons

Contents

A hint can be provided to give additional context to the user. It appears below the textarea when it is focused, and disappears when the user blurs the field. When the field is submitted with an invalid value, the hint is replaced by a validation error, if validators are provided.

Inputs in Hint
hint ?: string
Also set in this example
control : FormControl<string>
placeholder ?: string = ''
Outputs
onAttachmentsClick ?: any = new EventEmitter<void>()
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>()
onVoiceInputClick ?: any = new EventEmitter<void>()