Is there a way to notify Vue when the datepicker changes the selected date?
new Vue({
el: '#app',
data: {
termin: ''
},
computed: {
},
methods: {
}
})
This is just an input field:
<div id="app">
<div class="uk-form-icon"><i class="uk-icon-calendar"></i>
<input name="termin" v-model="termin" value="" placeholder="Choose date" type="text" data-uk-datepicker="{format:'DD.MM.YYYY'}" required="required">
</div>
<p>
Date: {{termin}}
</p>
</div>
If you manually change the input field, Vue detects it, but not when using the date picker.