ngOfficeUIFabric / ng-officeuifabric

Office UI Fabric (https://github.com/OfficeDev/office-ui-fabric) implementation for Angular
http://ngOfficeUiFabric.com
MIT License
320 stars 67 forks source link

[DatePicker] - value of Reference button is not updated #486

Closed jskvoll closed 7 years ago

jskvoll commented 7 years ago

Issue found by my team member.

Reproduces: http://ngofficeuifabric.com/demos/uifDatepicker/

Expected Behavior

Value of Reference button contains current month and current year

Actual Behavior

Value of Reference button contains year you previously selected

Steps to Reproduce Behavior

1.Open Date picker 2.Click Reference button with month and year label 3.Click Reference button with year label 4.Select any other year 5.Click “Go to today” button 6.Open Date picker

  1. Move to years again

http://i.imgur.com/rKchKVn.gifv

andrewconnell commented 7 years ago

Unfortunately, this bug is coming from the pickadate.js library which we take a dependency on because that's what Office UI Fabric v2.6.* takes a dependency on... just as I explained in #493. Therefore this bug needs to be addressed in that library as it's not something we can fix in this project.