Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: mdb-date-picker console warning

Olivier Flegeau free asked 5 years ago


Hi you have a warning in console when you use mdb-date-picker, even in your NgAdminPro exemple

it is the console message : "[DOM] Found 2 elements with non-unique id #pickerInput: (More info: https://goo.gl/9p2vKq)

input autocomplete=​"off" class=​"form-control mydp-date ng-untouched ng-pristine ng-valid" id=​"pickerInput" type=​"text" ng-reflect-klass=​"form-control mydp-date" ng-reflect-ng-class=​"[object Object]​" ng-reflect-ng-style=​"[object Object]​" ng-reflect-is-disabled=​"false" ng-reflect-model aria-label=​"Date input field" maxlength=​"10" placeholder=​"Selected date" tabindex=​"0" style=​"font-size:​ 1rem;​">​


MDWebservices priority answered 5 years ago


Hi @Mateusz Łubianka

We have this error also, this if for angular version that this error appears and it appears on your website for the same page as you linked, but for the angular version. https://mdbootstrap.com/docs/angular/forms/date-picker/

We just need to be able to change the id of the mdb-date-picker component, is this possible as i dont seem to see a way on any of your documentation?

Many Thanks

Louis Barker


Mateusz Łubianka staff commented 5 years ago

@MDWebservices,

I created a task to check it and if it possible, our team will fix this. Thank you for this post.

Best


Mateusz Łubianka staff answered 5 years ago


Hi @Olivier Flegeau,

I can't see this warning on this site: https://mdbootstrap.com/docs/jquery/forms/date-picker/ Could you tell more about this? I think your link has wrong adress.

Best,



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: Other
  • MDB Version: -
  • Device: MAC
  • Browser: Chrome
  • OS: OS catalina
  • Provided sample code: No
  • Provided link: Yes