Releases: dpoetzsch/md-pickers
Releases · dpoetzsch/md-pickers
1.1.0
Bugfixes
- Fixed error when input are not in a form (cf2b00f)
- Fixed date object error (7417a93)
- Fixed bug that caused date to reset if date picker dialog was cancelled (pull request #18)
- Fixed issues with date picker and required (pull request #16)
Features
- Added service to configure settings globally
- Added demo
1.0.1
- Published to NPM: https://www.npmjs.com/package/md-pickers
Bugfixes
- Cancelling a dialog does not leave an unhandled rejected promise flying around (thanks to Marvin Huber)
1.0.0
Breaking changes
- Default: 24 hours time format instead of am/pm. Use
mdp-ampm
to switch. mdp-min-date
andmdp-max-date
ofmdp-date-picker
now take either aDate
object or a string formatted usingmdp-format
(they used to take only a string inYYYY-MM-DD
format).
Features
- Support for angular 1.6 (thanks to Andrea Vega)
- Support for 24 hours format.
This includes an attributemdp-ampm
to switch between 24/12 (disabled by default) (thanks to Matteo Gaggiano) - Option to set the parent element of the dialogs. This is needed for correct theme inheritance in
angular-material
pre 1.1.1 (see angular-material issue #525) (thanks to David Poetzsch-Heffter) - Possibility to specify input name via
mdp-input-name
in order to allow forng-messages
(thanks to David Poetzsch-Heffter) mdp-min-date
andmdp-max-date
also allow passing aDate
object (thanks to David Poetzsch-Heffter)mdp-time-picker
now takes validation attributesmdp-min-time
andmdp-max-time
which are eitherDate
objects or strings formatted usingmdp-format
(thanks to David Poetzsch-Heffter)
Bugfixes
- Show validation errors when the form is submitted (thanks to David Poetzsch-Heffter)
- Higher
angular-material
versions are now possible (thanks to David Poetzsch-Heffter) - Showing small
*
on the input placeholders if pickers are flagged as required (similar to standardangular-material
inputs) (thanks to David Poetzsch-Heffter) - Updating the
mdp-placeholder
dynamically is supported (thanks to David Poetzsch-Heffter) - Changing the model changes is reflected in the views (thanks to David Poetzsch-Heffter)
- Fixed support for validation via
ng-required
(thanks to Marco Antônio Mafessolli) - Changing the values of
mdp-min-date
andmdp-max-date
triggers revalidation (thanks to David Poetzsch-Heffter)
Housekeeping
- Converted all tabs to spaces (using 4 spaces everywhere now)
- Removed trailing whitespace