Getting Date Picker to Work/Render


Topic: Getting Date Picker to Work/Render

Bldg25 pro asked 7 years ago

https://mdbootstrap.com/angular/advanced/datepicker/ When I use the example code I get:'mdb-date-picker' is not a known element: ... So I look further and see that the selector is in fact "my-date-picker". Then when I change it to my-date-picker, it renders, but when I click on the input element, I get the errors found here:Console.log output

Bldg25 pro commented 7 years ago

I figured out how to get it to render, but not the source of the problem. If I use the same options, the component doesn't render properly but if I leave options empty the date picker renders.

Please tell me what version of MDB Angular are you using? The newest package has changed selectors, so maybe you just need to update your package.

Bldg25 pro commented 7 years ago

After an upgrade to version 4.3.1 by downloading the package again all is better.

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: Yes