0.1.13 • Published 5 years ago

vue-input-box v0.1.13

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

vue-input-box

Input Box Component inspired by Gmail email address input

Install

npm install vue-input-box
yarn add vue-input-box

Use

  <input-box v-model="['item-1', 'item-2', 'item-3'].map(item => ({ value: item }))" filter="^[\w-]*$" placeholder="Add Item" />

Props

NameTypedefaultDescription
valueArray[]Default box settings. Must be an array of type {value: String}
filterString''Filter for input values.
placeholderString''Placeholder exposed when input is blank.
alertString''Notification message when you enter a value that does not match filter.