Components/Tag Input
Tag Input
Multi-value entry that converts typed text into chips on Enter or a separator key.
reacttypescript
Installation
npx ajaxui add tag-inputSizes
small
medium
large
States
ok
invalid
disabled
onetwothree
Props
| Prop | Type | Default |
|---|---|---|
| value | string[] | — |
| defaultValue | string[] | [] |
| onChange | (tags: string[]) => void | — |
| separator | string[] | ["Enter", ","] |
| max | number | — |
| inputSize | "sm" | "md" | "lg" | "md" |
| error | boolean | false |
| disabled | boolean | false |