Topic: MDBDatepicker clear date displays NaN
Hi,
We've upgraded to MDB 3.1.0 so we have all the datepicker fixes, but we still encounter an issue with the datepicker.
Template:
<MDBDatepicker v-model="picker1" label="Select a date" />
Setup:
const picker1 = ref("");
Expected behavior
Clear date to reset the date and not display NaN.
Actual behavior
Clear date with a previously selected date displays NaN.
Steps to reproduce
- Select a date
- Click on "ok"
- Open the datepicker modal again
- Click on "clear"
- The datepicker now displays NaN
Can this be released in a hotfix?
Kind Regards,
Van der Let & Partners
Bartosz Cylwik staff answered 2 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: Yes
- Technology: MDB Vue
- MDB Version: MDB5 3.1.0
- Device: n/a
- Browser: n/a
- OS: n/a
- Provided sample code: No
- Provided link: No