Skip to content

Input/Placeholder should be hidden if maxTags is greater than tags length #115

Open
@danbrellis

Description

@danbrellis

It seems to me that once the tags length is equal to the maxTags prop, the input should no longer be shown. It gives the user the false sense that they can continue to add more tags since the placeholder is shown and they can type into the field.

I saw this issue resolved about hiding the placeholder, but it doesn't address the user's ability to type a new tag: #21

It seems like a simple fix by just adding the below v-show on the input tag in vue-tags-input.vue.

v-show="maxTags > tags.length"

I can create a pull request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions