Skip to content

Releases: dpoetzsch/md-pickers

1.1.0

04 Jul 17:10
Compare
Choose a tag to compare

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

15 Jun 20:03
Compare
Choose a tag to compare

Bugfixes

  • Cancelling a dialog does not leave an unhandled rejected promise flying around (thanks to Marvin Huber)

1.0.0

23 May 16:43
Compare
Choose a tag to compare

Breaking changes

  • Default: 24 hours time format instead of am/pm. Use mdp-ampm to switch.
  • mdp-min-date and mdp-max-date of mdp-date-picker now take either a Date object or a string formatted using mdp-format (they used to take only a string in YYYY-MM-DD format).

Features

  • Support for angular 1.6 (thanks to Andrea Vega)
  • Support for 24 hours format.
    This includes an attribute mdp-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 for ng-messages (thanks to David Poetzsch-Heffter)
  • mdp-min-date and mdp-max-date also allow passing a Date object (thanks to David Poetzsch-Heffter)
  • mdp-time-picker now takes validation attributes mdp-min-time and mdp-max-time which are either Date objects or strings formatted using mdp-format (thanks to David Poetzsch-Heffter)

Bugfixes

Housekeeping

  • Converted all tabs to spaces (using 4 spaces everywhere now)
  • Removed trailing whitespace