TagsInput
A tags input is a single or multiline control that allows the input of tags.
Custom tag addition
Customize tag addition behavior using the commitTagOn
and commitOnBlur
props.
Controlled
Control the input using the value
and onChange
props.
The value
should be an array of string
or HvTag
props.
Controlled validation
Use the onAdd
and onRemove
props to control when tags are added or removed.
Suggestions
Show auto-complete suggestions using the suggestionListCallback
prop, similar to HvInput
.
Use suggestionsLoose
to allow values outside the suggestion list.