mathieustan / vue-datepicker

A clean datepicker made with VueJs
https://vue-datepicker.netlify.com/
MIT License
165 stars 47 forks source link

Invalid array length at VueComponent.spaceBeforeFirstDay #107

Open nastaran8695 opened 2 years ago

nastaran8695 commented 2 years ago

I get this error when I want use default date picker

vue.esm.js?efeb:5043 [Vue warn]: Error in render: "RangeError: Invalid array length"

found in

--->

at src/components/CustomDatePicker/index.vue ... (1 recursive calls) at src/pages/Transactions/index.vue at src/pages/App/Layout/AppLayout/index.vue at src/pages/App/index.vue and RangeError: Invalid array length at VueComponent.spaceBeforeFirstDay (vue-datepicker.esm.js?9116:5:53803) at Watcher.get (vue.esm.js?efeb:4103:1) at Watcher.evaluate (vue.esm.js?efeb:4204:1) at VueComponent.computedGetter [as spaceBeforeFirstDay] (vue.esm.js?efeb:4429:1) at VueComponent.genDays (vue-datepicker.esm.js?9116:5:54966) at Array.map () at VueComponent.genDaysWrapper (vue-datepicker.esm.js?9116:5:54778) at Proxy.render (vue-datepicker.esm.js?9116:5:55753) at Vue._render (vue.esm.js?efeb:2498:1) at VueComponent.updateComponent (vue.esm.js?efeb:2933:1) hoe can i solve this?