I used the semantic ui calendar in conjunction with Vuejs to get the value. After selecting a date with datepicker, this calendar has not set a value. Therefore, I cannot save the date via Vujs. This is my html:
<div class="ui calendar" id="date"> <div class="ui input left icon"> <i class="calendar icon"></i> <input type="text" v-model="input.date"> </div> </div>
My vuejs:
var app = new Vue({ el: "#app", data: { input: { unique_number:"", date: "", description: "" }, inputErrors: [] } });
Any idea?
source share