-
Notifications
You must be signed in to change notification settings - Fork 931
Closed
Labels
Description
Description
This would be a new prop for UInputTags that would allow you to set a max length on the items being added.
<InputTags v-model="items" :max-item-length="25" />
const items = ref([
"ok",
"this one would not be ok because of how long it is"
])
Though, you could use something like Zod to do form validation, I think this could just apply a maxlength to the input itself to prevent typing more than the limit.
Additional context
No response