New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vue-multiselect-items

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-multiselect-items

![alt text](https://github.com/imrancse94/vue-multiselect-items/blob/main/multiselect.gif?raw=true)

  • 1.0.9
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

alt text

:earth_africa: Installation

npm install --save vue-multiselect-items

:wave: Usage

At the root of your project, just before creating your Vue application, import the vue-multiselect-items plug-in, and add it to the Vue global with the following code:

Example - main.js
import Vue from 'vue'
import VueMultiselectItems from 'vue-multiselect-items'

Vue.component('VueMultiselectItems', VueMultiselectItems)

### `App.vue`

<template>
  <div id="app">
    <VueMultiselectItems
        label="Fruit List"
        title="Please select"
        placeholder="Search fruits..."
        :errors="errors"
        :data="data"
        v-model="selecteditems"
      />
   
  </div>
</template>

<script>

  export default {
      data(){
        return {
            data:[
              {id:1,name:"Apple"},
              {id:2,name:"Banana"},
            ],
            errors:"The field is required.",
            selecteditems:[]
        }
      }
  }
 
</script>

Keywords

FAQs

Package last updated on 31 Jan 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc