Topic: MDB Datepicker Validation
noveltytech pro premium priority asked 3 years 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>
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Pro
- 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
Arkadiusz Idzikowski staff commented 3 years 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 pro premium priority commented 3 years ago
any update @Arkadiusz Idzikowski ?
Arkadiusz Idzikowski staff commented 3 years ago
@noveltytech We are currently working on a fix so the problem should be resolved in the next update (probably next week).