Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


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

  1. Select a date
  2. Click on "ok"
  3. Open the datepicker modal again
  4. Click on "clear"
  5. 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


Hi, thank you for posting this, we'll try to fix this asap. Best Regards!



Please insert min. 20 characters.

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