Topic: MDB Datepicker Validation

noveltytech priority asked 8 months ago


Expected behavior When I type date from keyboard as 34/56/3000 , it should be invalid.

Actual behavior It is accepting the date as valid. The date should be invalid, as max month and day is exceeded.

Resources (screenshots, code snippets etc.)

<mdb-form-control>
                <input mdbInput [mdbDatepicker]="datepicker1" type="text" class="form-control" formControlName="dob" placeholder="MM/DD/YYYY" />
                <mdb-datepicker-toggle [mdbDatepicker]="datepicker1">
                </mdb-datepicker-toggle>
                <mdb-datepicker [inline]="true"  #datepicker1
                  [format]="'mm/dd/yyyy'">
                </mdb-datepicker>
              </mdb-form-control>

Arkadiusz Idzikowski staff commented 8 months ago

@noveltytech Thank you for letting us know about this problem, we will take a closer look at that and add a fix as soon as possible.


noveltytech priority commented 8 months ago

any update @Arkadiusz Idzikowski ?


Arkadiusz Idzikowski staff commented 8 months ago

@noveltytech We are currently working on a fix so the problem should be resolved in the next update (probably next week).



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • User: Priority
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: MDB5 2.0.0
  • Device: Lenovo
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No