Skip to content

Commit fdd4e63

Browse files
Angular Material Teamwagnermaciel
authored andcommitted
Project import generated by Copybara.
PiperOrigin-RevId: 335453885
1 parent 1c83423 commit fdd4e63

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/material-experimental/mdc-form-field/form-field.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,11 @@ export class MatFormField implements AfterViewInit, OnDestroy, AfterContentCheck
294294
// abstract form control instance.
295295
deregisterValidationAttributeChangeHandler: () => {},
296296
registerValidationAttributeChangeHandler: () => null as any,
297+
298+
// Used by foundation to dynamically remove aria-describedby when the hint text
299+
// is shown only on invalid state, which should not be applicable here.
300+
setInputAttr: () => undefined,
301+
removeInputAttr: () => undefined,
297302
};
298303

299304
constructor(private _elementRef: ElementRef,

0 commit comments

Comments
 (0)