Components/TagInput
Universal Component

TagInput

Input component for quickly adding tags with separators and Enter confirmation.

This page was migrated by AI, please review carefully

Migration is complete, but please validate against source code and manual review.

TagInput

Input component for quickly adding tags with separators and Enter confirmation.

Basic Usage

Demo loads on client.

API

TxTagInput Props

NameTypeDefaultDescription
modelValuestring[][]Tag list
placeholderstring'Add tag'Placeholder text
disabledbooleanfalseDisabled state
maxnumber20Max tag count
allowDuplicatesbooleanfalseAllow duplicate tags
separatorsstring[][',']Separator characters
confirmOnBlurbooleantrueConfirm on blur

Events

EventPayloadDescription
update:modelValue(tags)Update tags
change(tags)Tags changed
add(tags)Tag added
remove(tag)Tag removed
focus(event)Focus event
blur(event)Blur event
Was this helpful?