Promact/md2

md2-datepicker allowing character(s) after a valid date

abannsunny opened this issue · 0 comments

Bug,

The datepicker is allowing any character(s) you type in after a valid date

This image is from the official demo page (https://code.promactinfo.com/md2/#/datepicker):

image

as you can see the value is correct even after there being random string after the valid date.

is there any way to disable strings after the date field?

What is the expected behavior?

Random strings should not be allowed after the valid date.

What is the current behavior?

The datepicker is allowing any characters you type in after a valid date

What are the steps to reproduce?

Providing a Plunker (or similar) is the best way to get the team to see your issue.

https://code.promactinfo.com/md2/#/datepicker

typing in characters after a valid date

Which versions of Angular, MD2, OS, browsers are affected?

I am using MD2 version 0.0.29, windows, angular 5.1