Topic: mdb-date-picker console warning
Olivier Flegeau free asked 4 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 4 years ago
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 4 years ago
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 4 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,
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: Other
- MDB Version: -
- Device: MAC
- Browser: Chrome
- OS: OS catalina
- Provided sample code: No
- Provided link: Yes