Error when Date Picker opens 4.22.1


Topic: Error when Date Picker opens 4.22.1

Rogelio Sanchez asked a year ago

When datepicker open mark a fatal error.

enter image description here


Konrad Stępień staff answered a year ago

Hi @Rogelio Sanchez,

Can you show me some of your code? Probably you have a while to render data and if you click date picker you have an error with opening the modal in a loop.

Can you render Datepicker in CRA project or in another place to check will render there correctly?

Best regards, Konrad.


Rogelio Sanchez commented a year ago

In version "MDB 4.21.1" this error did not occur. When upgrading to "4.22.1" he began to experiment, it will not be because he is trying to open the "datepicker" modal when I already have an open modal.

https://usercontent.mdbootstrap.com/mdb-images/support/0a119353-b405-4468-8194-0dd78bac171d-error.jpg


Konrad Stępień staff commented a year ago

It's hard to help without code. Also, I can mention that the code for this component has been renewed and is waiting for MDBreact 5.0.0 updates


Please insert min. 20 characters.
Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: React
  • MDB Version: 4.22.1
  • Device: MacBook Pro (13-inch, Mid 2012)
  • Browser: Google Chrome
  • OS: macOS Catalina
  • Provided sample code: No
  • Provided link: No