Skip to content
This repository has been archived by the owner on May 25, 2018. It is now read-only.

v-on:change not working in vue-select #538

Open
william-jay opened this issue Apr 2, 2018 · 0 comments
Open

v-on:change not working in vue-select #538

william-jay opened this issue Apr 2, 2018 · 0 comments

Comments

@william-jay
Copy link

william-jay commented Apr 2, 2018

<v-select :value="courseID" v-on:change="fetchProspectus" label="courseCode" :options="courses" v-model="form.course"></v-select>

`<script>
Vue.component("v-select", VueSelect.VueSelect);

new Vue({
el: '#app',
data: {
form: {
course: ''
}
courses: [
{courseID: 1, courseCode: 'BSIT'}
],
},
methods: {
fetchProspectus() {
alert('asd');
}
}

});
</script>`

`<script src="https://unpkg.com/vue@latest"></script>

<script src="https://unpkg.com/vue-select@latest"></script>`
@william-jay william-jay changed the title v-on:change not working v-on:change not working in vue-select Apr 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant