Topic: MDBDatePickerV5 format='DD-MM-YYYY' API crashed the app
MaximeGheraille free asked 4 years ago
Expected behavior
The format should be respected when changing it
Actual behavior
it should format the date without error. it works when removing the format options
Resources (screenshots, code snippets etc.)
<MDBDatePickerV5 format='DD-MM-YYYY' className="datePickerCustom" inline getValue={(e)=> console.log(e)} />
Uncaught Error: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Opened
Specification of the issue
- ForumUser: Free
- Premium support: No
- Technology: MDB React
- MDB Version: 4.27.0
- Device: PC
- Browser: chrome
- OS: IOS
- Provided sample code: No
- Provided link: No
Piotr Glejzer staff commented 4 years ago
Ok, I noticed that. Did you find more bugs?
MaximeGheraille free commented 4 years ago
@Piotr Glejzer well the API is not up-to-date for this component, so most thing do not work
Piotr Glejzer staff commented 4 years ago
Well we will try to fix this in the next release. I noticed all bugs and we will try to resolve that. If you have more, let me know.