# KptChipsInput (kpt-chips-input) A tag field - add with Enter or a comma, remove with Backspace or the x button. Signal Forms. The value is a string[]. Items are rendered through `kpt-chip`. Import: `import { KptChipsInput } from '@konce-pt/angular';` ## Inputs / model - `value`: model (or `formField`) - `placeholder`: string - `allowDuplicates`: boolean (default false) - `disabled`/`invalid`/`touched`: boolean; `touch`: output ## Example ## Screen reader and keyboard The tags are a list (`role="list"`/`listitem`), so a screen reader hears how many there are. Adding, removing (also with `Backspace`) and a rejected duplicate are announced by a polite live region (`chipsInput.added`/`removed`/`duplicate`); a duplicate stays in the field to be corrected instead of vanishing. After removing a tag with its `x`, focus returns to the text field. ## 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`, `required` and `aria-invalid` on the text field. ## Motion An added tag pops in (grows from a smaller size and sharpens out of a blur); a removed one - by its "x" or by `Backspace` - fades and shrinks in place while the following tags and the text field slide over on a spring. The value changes at once; the motion only illustrates it. Follows `enter` from `provideKptMotion` (`spring` / `fade` - only fades, the neighbours slide without the spring / `none`); `enabled: false` and the system "reduce motion" setting always win. ## Tokens The field uses `--kpt-form-field-*`; the tags inherit from `kpt-chip`. ## Read-only and required `readonly` shows the tags without the remove buttons and ignores Enter, comma and Backspace. Enter during IME composition (CJK) confirms the character, not a tag. A repeated message (a second rejected duplicate) is announced again.