- Added attribute
mdp-ampmto switch between 24/12 (disabled by default)
Minor bugfixes
Minor bugfixes
Several bugfixes
- Added
mdp-disabled
min and max attributes are refactored to mdp-min-date and mdp-max-date respectively and are setup as two-way binding
- Floating labels and
mdp-no-floatattribute - Directives are restricted to (A)ttribute and (E)lement
mdp-open-on-clickattribute for open date picker by clicking on the input
Bugfixes and improvements
Bugfixes and improvements (obviously.. :))
mdpTimePickerandmdpDatePickerare now restricted to and Element (see demo for details)- Pickers will not open clicking the input, but using the button
- Button for open dialog
- Set first day of the week by changing Moment.js localeData
- Customize date format on date picker
- Dialog will not close others (needs angular material >= 1.1.0rc-1)
Minor bugfixes and improvements
- Removed Material Design Icons dependency
$mdpDatePickerand$mdpTimePickernow accept the date/time and an object containing the options as arguments. (see demo for more details)
mdpDatePickerdirective now accept min/max date and a filter function
<input type="date" min="2000-01-01" max="2050-01-01" mdp-date-filter="myFilterFunction" />function myFilterFunction(date) {
...
}- Output format in
mdpTimePickerandmdpDatePickerdirectives thorughmdp-formatattribute (see moment.js documentation for details)
<input type="text" min="2000-01-01" max="2050-01-01" mdp-format="DD/MM/YYYY" />- Swipe capabilities on date picker
- Automatic switch between hours and minutes view in the time picker
- Corrected packaje.json file
- Added mdpTimePicker directive for input[type=time]
Minor bugfixes and improvements
- Service
$mdDatePickeris changed to$mdpDatePicker - Directive
mdDatePickeris changed tomdpDatePicker
- Time picker
- Dynamic year selector on date picker
- Animations
- Minor improvements
- Renamed classes names to avoid collisions with official date picker
- Changed angular repository in bower config
- Added config provider for $mdDatePicker. Now is possible to set the labels of the dialog buttons with $mdDatePickerProvider.setOKButtonLabel(...) and $mdDatePickerProvider.setCancelButtonLabel(...)
- Minor improvements
- Bower support
Repository name is changed to mdPickers. The goal is to have a both date and time pickers in the same module.
- Date picker dialog