
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
multi-items-input
Advanced tools
You can select multiple items just with keyboard. Input some keywords and using ↓, ↑,tab or enter to select, delete to remove.
Project page
https://jwolfcn.github.io/vue-multi-items-input/
npm install --save multi-items-input
In your entry js, main.js mostly
import Vue from 'vue'
import 'multi-items-input'
import 'multi-items-input/dist/multi-items-input.css'
Then you can use the tag multi-items-input
<multi-items-input
:fetch="search"
placeholder="placeholder"
:height="100"
separator=";"
@select="select"
@delete="onDelete"
:selection-only="false"
></multi-items-input>
For more details, refer to the example directory.
| Property | Type | Default | Description |
|---|---|---|---|
| v-model | Array | Binding value. Each object within it should be like {name: 'xx', id: xx} | |
| placeholder | String | Place holder of input. | |
| separator | String | Separator between items. | |
| height | Number | 100 | Height of the container. |
| fetch | Function(queryStr, done) | Triggered to request for suggestion. Keywords would passed as the first parameter. The second parameter is a callback function which notifys the request is completed. | |
| trigger-on-focus | Boolean | true | Whether trigger the fetch function on focus. |
| selection-only | Boolean | false | Whether the user should select from the suggestion. |
| zIndexOfPopper | Number | - | Set the z-index of the popper. |
| disabled | Boolean | false | Set input editable |
| event | Parameters | description |
|---|---|---|
| delete | Array, Object | The first parameter is the array of the selected items. Second is the item which deleted. |
| select | Object, Array | The first parameter is the item added. Second is the array of the selected items. |
MIT © Jwolf
FAQs
Vue Components. 类似邮箱地址栏的输入,自动提示补全,退格键删除,纯键盘操作可以快捷完成多项选择。
We found that multi-items-input demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.