Topic: MDBDatepicker modal does not display current date in some cases
VDLP priority asked 1 week ago
I encountered a bug with the MDBDatepicker component, the datepicker displays the wrong date in the modal popup after some steps.
<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:
- Open the datepicker modal
- Close the datepicker modal by clicking cancel or by clicking outside of the modal.
- Open the datepicker modal again
- The current date isn't highlighted anymore
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.
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- 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