
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
vue-dadata
Advanced tools
It's a vue component for hinting addresses using DaData.ru.
| Version | Description |
|---|---|
| 1.*.* | Old version for vue2 |
| 2.*.* | New version for vue2 |
| 3.*.* | New version for vue3 |
# old version vue2
$ npm install vue-dadata@1.4.12 --save
# new version vue2 (in progress)
$ npm install vue-dadata@2.0.0-beta.2 --save
# vue3 (in progress)
$ npm install vue-dadata --save
<template>
<div class="vue-truncate-html-example">
<vue-dadata
v-model="query"
:token="token" />
</div>
</template>
<script lang="ts">
import { defineComponent, ref } from 'vue';
import { VueDadata } from 'vue-dadata';
import 'vue-dadata/dist/style.css';
export default defineComponent({
name: 'VueTruncateHtmlExample',
components: {
VueDadata,
},
setup() {
const query = ref('');
return {
token: import.meta.env.VITE_APP_DADATA_API_KEY,
query,
};
},
});
</script>
| Prop | Required | Type | Description | Default |
|---|---|---|---|---|
| token | Yes | string | Auth token DaData.ru | - |
| modelValue | Yes | string | v-model for query | - |
| suggestion | No | object | v-model for suggestion | undefined |
| placeholder | No | string | Text placeholder | '' |
| url | No | string | special url for dadata api | 'https://suggestions.dadata.ru/suggestions/api/4_1/rs/suggest/address' |
| debounceWait | No | string | waiting time | '1000ms' |
| disabled | No | boolean | disabled | false |
| fromBound | No | string | Dadata bound type FROM | undefined |
| toBound | No | string | Dadata bound type TO | undefined |
| inputName | No | string | Input name attribute | 'vue-dadata-input' |
| locationOptions | No | object | Location options for choosing cities or countries | undefined |
| classes | No | object | classes | DEFAULT_CLASSES |
| highlightOptions | No | object | highlight options for vue-word-highlighter | DEFAULT_HIGHLIGHT_OPTIONS |
| autocomplete | No | boolean | can autocomplete query, after blur | undefined |
Copyright (c) 2019 - 2022 Ivan Monastyrev ikloster@yandex.ru. Licensed under the MIT license.
FAQs
Vue component for hinting addresses using dadata.ru
The npm package vue-dadata receives a total of 270 weekly downloads. As such, vue-dadata popularity was classified as not popular.
We found that vue-dadata demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.