Skip to content

InputTags max item length #4405

@jwoertink

Description

@jwoertink

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestv3#1289

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions