Skip to content

Commit

Permalink
fix(form-field): remove specific mention of matInput in error (#7727)
Browse files Browse the repository at this point in the history
  • Loading branch information
willshowell authored and andrewseguin committed Oct 12, 2017
1 parent 3de57fb commit f17cb99
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/form-field/form-field-errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@ export function getMatFormFieldDuplicatedHintError(align: string): Error {

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

0 comments on commit f17cb99

Please sign in to comment.