Promact / md2

Angular2 based Material Design components, directives and services are Accordion, Autocomplete, Collapse, Colorpicker, Datepicker, Dialog(Modal), Menu, Multiselect, Select, Tabs, Tags(Chips), Toast and Tooltip.
http://code.promactinfo.com/md2/
MIT License
379 stars 111 forks source link

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

Open abannsunny opened 6 years ago

abannsunny commented 6 years ago

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