We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 769b26b commit b129a10Copy full SHA for b129a10
src/widgets.js
@@ -87,7 +87,7 @@ function valueAccessor(scope, element) {
87
validateScope = extend(new (extend(function(){}, {prototype:scope}))(), {$element:element});
88
error = required && !value ?
89
'Required' :
90
- value ? validator(validateScope, value) : null;
+ (value ? validator(validateScope, value) : null);
91
elementError(element, NG_VALIDATION_ERROR, error);
92
lastError = error;
93
if (error) {
0 commit comments