![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@savingsunited/vue3-tags-input
Advanced tools
A tags input component for Vue 3 with autocompletion, custom validation, templating and much more
A tags input component for Vue 3 with autocompletion, custom validation, templating and much more
Forked from @johmun/vue-tags-input, which you should use instead if your project is on Vue 2.
Demo & Docs (for the original version)
NPM
npm install @sipec/vue3-tags-input
CDN
<script src="https://unpkg.com/@sipec/vue3-tags-input/dist/vue-tags-input.js"></script>
<template>
<div>
<vue-tags-input
v-model="tag"
:tags="tags"
@tags-changed="newTags => tags = newTags"
/>
</div>
</template>
<script>
import VueTagsInput from "@sipec/vue3-tags-input";
export default {
components: {
VueTagsInput,
},
data() {
return {
tag: '',
tags: [],
};
},
};
</script>
Draggable is disabled by default. Set prop :is-draggable
to true to enable it. You can also set :draggable-handle
to true to enable handle which can be styled with css class .handle
. Classes for ghost-class and drag-class are .ghost-tag
and .drag-tag
.
On drop tag-order-changed
is emitted with array of tags in new order. Use this array to update your tags to save the new order.
<template>
<div>
<vue-tags-input
v-model="tag"
:tags="tags"
:is-draggable="true"
@tags-changed="newTags => tags = newTags"
@tag-order-changed="newTags => tags = newTags"
/>
</div>
</template>
This version is faithful to the original spec. The only thing you'll have to change is replacing any usages of tags.sync
with vmodel:tags
in the props
Copyright (c) 2019 Johannes Munari
FAQs
A tags input component for Vue 3 with autocompletion, custom validation, templating and much more
The npm package @savingsunited/vue3-tags-input receives a total of 0 weekly downloads. As such, @savingsunited/vue3-tags-input popularity was classified as not popular.
We found that @savingsunited/vue3-tags-input demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.