Closed
Description
Got the following html:
<form @submit.prevent="formSubmit">
// Some other fields
<Calendar id="from_date" v-model="item.fromDate" date-format="dd.mm.yy" :step-minute="15" :showTime="!item.allDay" :showIcon="true" />
<Button :label="Save" type="submit" class="pull-right" style="width:auto;" />
</form>
and the typescript:
methods: {
formSubmit() {
// Save the form
}
}
Apparently if I click the Calendar button it triggers the formSubmit
method.
Activity