Open tomchiverton opened 5 years ago
Workaround using global ref and manual event handler :
<datetime
ref="search_from"
v-model="search_from"
input-id="from"
type="date"
placeholder="From"
<span slot="before"
class="vDateTime-picker__icon"
@click="open_calender($event,'search_from')" ></span>
</datetime>
methods:{
open_calender:function(event,which){
this.$refs[which].open(event);
},
Clicking a slot e.g. icon in input does not open calender