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 57f97cb commit f1ba9d4Copy full SHA for f1ba9d4
src/Mixin.js
@@ -166,7 +166,7 @@ module.exports = {
166
return this.state._isRequired;
167
},
168
showError: function () {
169
- return this.showRequired() && !this.isValid();
+ return !this.showRequired() && !this.isValid();
170
171
isValidValue: function (value) {
172
return this.context.formsy.isValidValue.call(null, this, value);
src/main.js
@@ -278,7 +278,7 @@ Formsy.Form = React.createClass({
278
}
279
280
if (isRequired) {
281
- var error = validationErrors[requiredResults.success[0]] || validationError;
+ var error = validationErrors[requiredResults.success[0]];
282
return error ? [error] : null;
283
284
0 commit comments