vue-auto-complete-textarea
Flexible and simple use vue-auto-complete-textarea
1,854
7
| Install | |
|---|---|
npm install vue-auto-complete-textarea |
|
| Latest Version: | 0.1.71 |
| Vue: | 2 |
| License: | MIT |
| Last Updated: | Aug 18, 2020 |
| Links: | GitHub · npm |
Maintainer: ali.jahanpak
vue-auto-complete-textarea
Install
$ npm install --save vue-auto-complete-textarea
Register the component :
import "vue-auto-complete-textarea";
import 'vue-auto-complete-textarea/dist/vue-auto-complete-textarea.css';
How to use :
<label>Lable
<vue-auto-complete-textarea
style="height: 150px"
:name="'description'"
:options = "[{'id':'', 'text' : ''}]"
v-model="input.description">
</vue-auto-complete-textarea>
</label>
props:
| Name | Type | Description |
|---|---|---|
| option | Array of object | option list |
| name | String | textarea name attribute |
v-validate:
<label>Lable
<vue-auto-complete-textarea
style="height: 150px"
:name="'description'"
v-validate="'required'"
:class="{'input': true, 'error-border': errors.has('description')}"
:options = "[{'id':'', 'text' : ''}]"
v-model="input.description">
</vue-auto-complete-textarea>
<span v-show="errors.has('description')" class="error-font">Error Text!</span>
</label>
Customize configuration
Related Packages
vue-instant
vue instant allows you to easily create custom search controls with auto suggest...
31,907
418
@webbytes/vue-jpql-autocomplete
A VueJS component that can accept user input to be used to generate a SQL where...
635
4
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.1.71 | ^2.6.10 | MIT | |
| 0.1.61 | ^2.6.10 | MIT | |
| 0.1.7 | ^2.6.10 | MIT | |
| 0.1.6 | ^2.6.10 | MIT | |
| 0.1.5 | ^2.6.10 | MIT | |
| 0.1.4 | ^2.6.10 | MIT | |
| 0.1.3 | ^2.6.10 | MIT | |
| 0.1.2 | ^2.6.10 | MIT | |
| 0.1.1 | ^2.6.10 | MIT | |
| 0.1.0 | ^2.6.10 | MIT |