0👍
I am not sure what issue you are facing but it is working fine in the below code snippet.
By using @change
event on <b-form-input>
new Vue({
el: '#app',
data: {
inputText: 'Alpha',
},
methods: {
getUpdatedValue() {
console.log(this.inputText);
}
}
})
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.17/vue.js"></script>
<script src="https://unpkg.com/bootstrap-vue@2.21.2/dist/bootstrap-vue.js"></script>
<link rel="stylesheet" href="https://unpkg.com/bootstrap-vue@2.21.2/dist/bootstrap-vue.css"/>
<div id="app">
<b-form-input v-model="inputText" @change="getUpdatedValue"></b-form-input>
</div>
- [Vuejs]-What causes this "maximum call stack size exceeded" error?
- [Vuejs]-Vue-element-admin this.$router.push can't work
Source:stackexchange.com