Skip to content

Drop down box component to add customization of Vue.js

License

Notifications You must be signed in to change notification settings

XiaoNode/vue-select-added

Repository files navigation

vue-select-added

A Vue.js 2.0 select added component

test

Installation

NPM / Yarn

npm install vue-select-added --save

Then you need to import and register it:

import SelectAdded from "vue-select-added";
components: {
  SelectAdded;
}

Usage

<SelectAdded
  :allArr="items"
  v-model="selectValue"
/>

Props

Name Type Default Description
value Array [] Selected value
allArr Array [] Available options
multiple Boolean true Is multiple choice allowed
searchText String "请输入" Search box default
readOnly Boolean false Set input to readonly
searchResultText String "未搜索到相关内容" No search results
addItemButtonText String "添加一个新属性值" Add new option button text
addItemText String "添加一个新项" Add item input box prompt

About

Drop down box component to add customization of Vue.js

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published