docs(guide/migration): fix typos, change 'ctrk' to 'ctrl'
Closes #16754
This commit is contained in:
committed by
George Kalpakas
parent
3df4ee421c
commit
4e372d9314
@@ -148,7 +148,7 @@ custom directive, as seen in the following example directive definition object:
|
||||
link: function(scope, element, attrs, ctrl) {
|
||||
var maxValidator = ctrl.$validators.max;
|
||||
|
||||
ctrk.$validators.max = function(modelValue, viewValue) {
|
||||
ctrl.$validators.max = function(modelValue, viewValue) {
|
||||
return maxValidator(modelValue, modelValue);
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user