Closed merrillh closed 1 year ago
When I select a date and click the clear date button, I get the error: "Uncaught TypeError: e.clearDate is not a function" when using the property clear-button
<template> <Datepicker :clear-button="true" /> </template> <script> import { ref } from 'vue'; import Datepicker2 from 'vuejs3-datepicker'; export default { components: { Datepicker, }, setup() { const date = ref(); return { date, dateFormat: 'yyyy-MM-dd', } } }; </script>
issue addressed in https://github.com/shubhadip/vuejs3-datepicker/pull/56
When I select a date and click the clear date button, I get the error: "Uncaught TypeError: e.clearDate is not a function" when using the property clear-button