Topic: MDBDatepicker clear date displays NaN
VDLP priority asked 2 years ago
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
Add comment
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Answered
Specification of the issue
- ForumUser: Priority
- 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