Skip to content

Commit f17cb99

Browse files
willshowellandrewseguin
authored andcommitted
fix(form-field): remove specific mention of matInput in error (#7727)
1 parent 3de57fb commit f17cb99

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib/form-field/form-field-errors.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,5 @@ export function getMatFormFieldDuplicatedHintError(align: string): Error {
1818

1919
/** @docs-private */
2020
export function getMatFormFieldMissingControlError(): Error {
21-
return Error('mat-form-field must contain a MatFormFieldControl. ' +
22-
'Did you forget to add matInput to the native input or textarea element?');
21+
return Error('mat-form-field must contain a MatFormFieldControl.');
2322
}

0 commit comments

Comments
 (0)