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

VDLP priority asked 1 week 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.



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


VDLP priority commented 5 days ago

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


Mateusz Trochonowicz staff commented 4 days ago

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



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: Priority
  • 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