You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our broadcast of error messages does not work any more.
I leave formname undefined and specify a validity as true or false. $scope.$broadcast('schemaForm.error.' + fieldCode, 'payrollValidation', element.message, isValid)
The following line overwrites the given formname and assigns it the validity (bool) value.
Found while upgrading to 0.8.14
Our broadcast of error messages does not work any more.
I leave formname undefined and specify a validity as true or false.
$scope.$broadcast('schemaForm.error.' + fieldCode, 'payrollValidation', element.message, isValid)
The following line overwrites the given formname and assigns it the validity (bool) value.
angular-schema-form/src/directives/sf-field.directive.js
Line 258 in e9a2a8c
Later on the formname is checked and if it does not match (which it doesn't because is it true|false) the method returns and does nothing.
angular-schema-form/src/directives/sf-field.directive.js
Line 266 in e9a2a8c
Is this a bug or am I using it wrong?
The text was updated successfully, but these errors were encountered: