Disabling the calendar button when the datepicker is disabled allows
ChromeVox (at least) to skip past a button that cannot be invoked
until (like is possible in the checkout page) the picker is enabled.
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
close-text="{{closeText}}"/>
<span class="input-group-btn">
<button type="button" class="btn btn-default"
- ng-click="datePickerIsOpen=!datePickerIsOpen"
+ ng-click="datePickerIsOpen=!datePickerIsOpen" ng-disabled="ngDisabled"
aria-label="Select a date" aria-pressed="{{datePickerIsOpen || false}}">
<span class="glyphicon glyphicon-calendar" title="Select a date"></span>
</button>