InputChip
= Textfield multi
+ Chip
+ ❤️
Textfield[multi]
is used to display array of items. By default they are presented as plain strings. *tuiItem
directive to provide custom representation. You can use tui-input-chip
out of the box or implement your own. The context is TuiContext<{ item: T, index: number }>
disabledItemHandler
, this would prevent them from being edited, removed or added. Note: keep in mind cleaner would still empty the control. If you want a different behavior, you can disable built-in cleaner and provide your own disabledItemHandler
you can force the component to only accept suggested values