Answer the question
In order to leave comments, you need to log in
How to trigger the change event in js?
I am using js library Bitrix.
Added BX.calendar to the input field:
<tr><td>Дата окончания:</td><td><input v-model="active_to" @click="datepicker"></td></tr>
datepicker(event) {
BX.calendar({node: event.target, field: event.target, bTime: false});
},
watch: {
active_to: function (val) {
console.log(val);
},
},
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question