Topic: MDBDatepicker selected date does not work with custom date format
VDLP priority asked 1 year ago
I encountered a bug with the MDBDatepicker component, the datepicker displays the wrong date in the modal popup with a custom format.
<MDBDatepicker v-model="picker4" inputToggle label="Select a date" format="DD-MM-YYYY" placeholder="DD-MM-YYYY" />
And in script setup just an empty ref:
const picker4 = ref();
Steps to reproduce:
- Select the 9th of Januari 2022 in datepicker modal
- Click on "Ok"
- Click on the input again
- The wrong date is now selected in the modal (the 1st of september is now selected)
Display the right date in the modal of the datepicker with a custom date format.
Displays the wrong date in the datepicker with a custom format.
Hi, is there any update on this issue. We are preparing for a production release and this issue is still present. Can this be fixed for MDB5 Vue v1?
Hello, thank you for letting us know about that. We have added this bug to our list and we will fix it as soon as possible. Best Regards
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.0.0
- Device: Macbook Pro M1
- Browser: Chrome
- OS: macOS Monterey
- Provided sample code: No
- Provided link: No