
Security News
NIST Under Federal Audit for NVD Processing Backlog and Delays
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
github.com/sandalf/vue-bootstrap-select
A vue version of bootstrap select
npm install @alfsnd/vue-bootstrap-select --save
import VSelect from '@alfsnd/vue-bootstrap-select'
export default {
name: 'app',
components: {
VSelect
},
data() {
return {
selectedValue: null
};
}
}
<template>
<div id="app">
<v-select :options="[{value: 1, text: 'Item 1'}, {value: 2, text: 'Item 2'}]" v-model="selectedValue" />
</div>
</template>
The options
prop accepts arrays of strings
<v-select :options="['Item 1', 'Item 2']" />
And arrays of objects
<v-select :options="[{value: 1, text: 'Item 1'}, {value: 2, text: 'Item 2'}]" />
parameter | description | type | default | acceptable value |
---|---|---|---|---|
disabled | disables select | Boolean | false | |
disabledProp | allows to disable specific options. If an option has this prop set to a truthy value it will disable the option. | String | disabled | |
labelNotFound | text displayed when no option is found in the search results | String | No results matched | |
labelSearchPlaceholder | placeholder text for search input | String | Search | |
options | list of options | Array | [] | |
searchable | display search input | Boolean | false | |
showDefaultOption | sets the select title is set as an option | Boolean | false | |
textProp | the option's prop that is displayed as the option's text | String | text | |
valueProp | the option's prop that is used to find the selected value | String | value |
FAQs
Unknown package
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
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.
Security News
TypeScript Native Previews offers a 10x faster Go-based compiler, now available on npm for public testing with early editor and language support.