material icon indicating copy to clipboard operation
material copied to clipboard

md-datepicker: Feature request change date within input field directly

Open kschwidder opened this issue 11 years ago • 5 comments

md-datepicker should also provide a way to enter the date directly when an input-field is defined. The validation should be checked against an array of date formats or as a given regex. In case the date is valid and a user opens the calendar than the input date should be shown.

kschwidder avatar Sep 05 '15 00:09 kschwidder

@kschwidder I don't follow what you mean. The datepicker contains an input element into which the user can type a date. The parsing and formatting of that date can be defined by the user with $mdDateLocaleProvider. Re-open this issue if that does not cover what you meant.

jelbourn avatar Sep 08 '15 16:09 jelbourn

Solved based on your suggestion. Thx

kschwidder avatar Sep 09 '15 18:09 kschwidder

screen shot 2015-09-22 at 1 15 30 pm whenever I use the md-datepicker and if it is near the page margins it doesn't open properly. By not opening properly I mean it is not scrollable and it should by itself know where it needs to show the popup based on its space requirement. Just like the image showing it should have open on top and not keep opening in space where the user has no option to select the date

maddy2308 avatar Sep 22 '15 20:09 maddy2308

@maddy2308 Please open a new issue instead of commenting on an unrelated, closed issue. The problem you're describing seems like it is something that has been fixed on master and will be included in the 0.11.1 release.

jelbourn avatar Sep 22 '15 20:09 jelbourn

Oh I didnt realise the issue was closed.

maddy2308 avatar Sep 22 '15 20:09 maddy2308