We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a34787d commit 6a5091aCopy full SHA for 6a5091a
src/lib/datepicker/datepicker-input.ts
@@ -57,9 +57,8 @@ export const MD_DATEPICKER_VALIDATORS: any = {
57
selector: 'input[mdDatepicker], input[matDatepicker]',
58
providers: [MD_DATEPICKER_VALUE_ACCESSOR, MD_DATEPICKER_VALIDATORS],
59
host: {
60
- '[attr.aria-expanded]': '_datepicker?.opened || "false"',
61
'[attr.aria-haspopup]': 'true',
62
- '[attr.aria-owns]': '_datepicker?.id',
+ '[attr.aria-owns]': '_datepicker?.opened && _datepicker.id',
63
'[attr.min]': 'min ? _dateAdapter.getISODateString(min) : null',
64
'[attr.max]': 'max ? _dateAdapter.getISODateString(max) : null',
65
'[disabled]': 'disabled',
0 commit comments