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 112 forks source link

[Datetimepicker] update the input as you choose date, hour, minute #303

Open Frozen-byte opened 6 years ago

Frozen-byte commented 6 years ago

Bug, feature request, or proposal:

There is no way to detect human inputs made to the Datetime-Picker Dialog until he clicked through all three pickers (date -> timeHour -> timeMinutes)

In most Cases the timeHour selection is enough, when I close the panel after hour Selection the input stays empty.

What is the expected behavior?

I'd like to open the Datetime-Picker: 1) only choose a date 2) click outside the dialog 3) see the selected Date in the input-field (hour and minute to 00:00) 3.1) an EventEmitter I can subscribe to for each user Selection made

What is the current behavior?

When I close the dialog, without stepping through all pickers the input stays empty.

What are the steps to reproduce?

see above

What is the use-case or motivation for changing an existing behavior?

Golden Rule: Always minimize the clicks in frontend.

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

"@angular/core": "4.4.4", "md2": "0.0.29"