After the page loads Console show this Error


Topic: After the page loads Console show this Error

Life.appadmin pro premium asked 10 months ago

After the page loads, the console shows an error like this. Therefore, even when a date is selected from the datepicker, the page will be refreshed. Can't pick a date. enter image description here


Arkadiusz Idzikowski staff commented 10 months ago

@Life.appadmin Please provide more information about the HTML/TS you used and reproduction steps.

Did you copy the code from one of the examples from our documentation?

https://mdbootstrap.com/docs/b5/angular/forms/datepicker/

It looks like mdbInput directive is not added to the input element.


Life.appadmin pro premium commented 10 months ago

Hello @Arkadiusz Idzikowski Yes I copied code from your documentation.

Here is input enter image description here

In my ts file I used only , import { Component, OnInit } from '@angular/core'; import { FormGroup } from '@angular/forms';

Here app.module.ts enter image description here


Arkadiusz Idzikowski staff commented 10 months ago

@Life.appadmin Can you share the full HTML/TS code? In the error/warning log I can see that there are many more inputs in this app view. Maybe the problem is not caused by the datepicker inputs.


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
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: MDB5 1.0.0-beta5
  • Device: Laptop
  • Browser: Chrome
  • OS: Win 10
  • Provided sample code: No
  • Provided link: No