# KptTextarea (kpt-textarea) A multi-line field on Signal Forms, with optional auto-resize. Import: `import { KptTextarea } from '@konce-pt/angular';` ## Inputs - `value`: model; `placeholder`: string; `rows`: number; `autoResize`: boolean - `disabled`/`readonly`/`invalid`/`touched`: boolean; `touch`: output ## Example ## Screen reader and keyboard `maxLength`: number - the native `maxlength` (under `[formField]` it comes from `maxLength()` in the schema); `counter`: boolean - a "12 / 280" counter under the field, read together with it through `aria-describedby`. ## Label and description `id` goes to the native field - the host never carries it; without one it is generated. Inside `kpt-form-field` the control links itself: the wrapper's `label[for]` points at it and the hint or error is added to `aria-describedby`, so `controlId` is not needed. Without a wrapper, name it with `ariaLabel`. New: `id`, `ariaLabel` and `required` (-> `aria-required`); `[formField]` binds `required`. ## Tokens `--kpt-form-field-*`. ## Dictation - Dictation (`speech*` below) needs `provideKptSpeech()` in the app - see `kpt-speech-button`. - `speech`: boolean = false - a microphone in the top corner of the field (the bottom corner belongs to the resize handle); while listening the wave stands to its left and the text column widens by the wave. Colour: `--kpt-speech-color` / `--kpt-speech-on-color` on the field (theme colour by default). Without browser support it is not shown. - `speechLang`: string | null; `speechMode`: `'insert' | 'append' | 'replace'` = `'insert'`. - `speechColor`: `'primary' | 'danger' | 'success' | 'warning' | 'info'` = `'primary'` - colour of "stop" and the wave while listening. Interim words are visible but never reach the model; `autoResize` follows the dictated text.