Skip to content
This repository was archived by the owner on Apr 30, 2018. It is now read-only.

Commit db14905

Browse files
Danny CallaghanDanny Callaghan
authored andcommitted
refactor(formly-field): Fixed minor mistake in ‘type-type-has-no-template’ error message
Changed ‘Type '${options.type}' has not template’ to ‘Type '${options.type}' has no template’
1 parent fd3bd5b commit db14905

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/directives/formly-field.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ function formlyField($http, $q, $compile, $templateCache, $interpolate, formlyCo
521521
if (angular.isUndefined(template) && !templateUrl) {
522522
throw formlyUsability.getFieldError(
523523
'type-type-has-no-template',
524-
`Type '${options.type}' has not template. On element:`, options
524+
`Type '${options.type}' has no template. On element:`, options
525525
);
526526
}
527527

0 commit comments

Comments
 (0)