wakirin / Litepicker

Date range picker - lightweight, no dependencies
MIT License
898 stars 131 forks source link

get a type="date" form element on lightpicker #279

Open spormeon opened 2 years ago

spormeon commented 2 years ago

Hi

How can I get a type="date" form element on lightpicker, it seems to fail lighthouse tests: Form elements do not have associated labels, if I try this, then the datepicker stops working? <litepicker v-model="dateRange" :options="{ autoApply: true, singleMode: false, numberOfColumns: 2, numberOfMonths: 2, showWeekNumbers: true, dropdowns: { minYear: 2021, maxYear: null, months: true, years: true } }" class="form-control pl-12" type="date"/>`

spormeon commented 2 years ago

any info here, i just cant find a way to get a label and get lightpicker past chrome lighthouse checks?