MDBDatepicker modal does not display current date in some ca


Topic: MDBDatepicker modal does not display current date in some cases

VDLP pro premium priority asked 2 years ago

Hello,

I encountered a bug with the MDBDatepicker component, the datepicker displays the wrong date in the modal popup after some steps.

My code:

<MDBDatepicker
            size="lg"
            id="example"
            inputToggle
            v-model="date"
            :format="format"
            :min="minDate"
            :max="maxDate"
            confirmDateOnSelect
/>

And in script setup:

const format = ref('DD-MM-YYYY');
const date = ref('01-01-2021');
const minDate = ref('01-01-2021');
const maxDate = ref('30-12-2021');

Steps to reproduce:

  1. Open the datepicker modal
  2. Close the datepicker modal by clicking cancel or by clicking outside of the modal.
  3. Open the datepicker modal again
  4. The current date isn't highlighted anymore

Expected behavior

Display the current date in the modal of the datepicker.


Mateusz Trochonowicz staff pro premium priority answered 2 years ago

Hi, thank you for your report. We are going to fix this issue as soon as possible.


VDLP pro premium priority commented 2 years ago

Hi, thank you. Do you have a date when this might be resolved?


Mateusz Trochonowicz staff pro premium priority commented 2 years ago

I am sorry but right now we do not have ETA on next release of MDB Vue.


VDLP pro premium priority commented 2 years ago

Hi, we are waiting a while now. Do you have a date when this might be resolved?


Bartosz Cylwik staff commented 2 years ago

Hi, the next release is planned for the second quarter, but we don't have a specific date yet


VDLP pro premium priority commented 2 years ago

Hi, we are waiting a while now. Do you have a date when this might be resolved?


Bartosz Cylwik staff commented 2 years ago

We're currently working on some fixes and improvements. It is highly likely that the next release will take place on 04.05. 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
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Vue
  • MDB Version: MDB5 3.2.0
  • Device: n/a
  • Browser: n/a
  • OS: n/a
  • Provided sample code: No
  • Provided link: No