Event start-selection not working
Opened this issue · 0 comments
matthbon commented
In the documentation i see an event start-selection. It should emit the event when user clicks first date of range.
But nothing is happening when I add it.
<date-range-picker
ref="picker"
v-model="dateRange"
:locale-data="{firstDay: 1, format: 'DD-MM-YYYY', daysOfWeek: moment.weekdaysMin(), monthNames: moment.monthsShort(),}"
:ranges="false"
:autoApply="true"
:singleDatePicker="false"
:timePicker="false"
:timePicker24Hour="false"
:showWeekNumbers="true"
:showDropdowns="true"
:min-date="minDate"
:max-date="maxDate"
@start-selection="startDateSelection($event)"
>
<div slot="input" class="form-input cursor-default select-bg" slot-scope="picker">
{{ picker.startDate | date }} t/m {{ picker.endDate | date }}
</div>
</date-range-picker>