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 c02624d commit 2accec2Copy full SHA for 2accec2
src/material/input/input.ts
@@ -550,6 +550,17 @@ export class MatInput
550
}
551
552
553
+ /**
554
+ * Implemented as part of MatFormFieldControl.
555
+ * @docs-private
556
+ */
557
+ get describedByIds(): string[] {
558
+ const element = this._elementRef.nativeElement;
559
+ const existingDescribedBy = element.getAttribute('aria-describedby');
560
+
561
+ return existingDescribedBy?.split(' ') || [];
562
+ }
563
564
/**
565
* Implemented as part of MatFormFieldControl.
566
* @docs-private
0 commit comments