function RequiredValidator() {}

Object.assign(RequiredValidator.prototype, {
  validate(value) {
    return !!value === true && value != "false";
  },

  errorMessage() {
    return "Required";
  }
});

export default function() {
  return new RequiredValidator();
};

@@ -122,28 +122,8 @@
 true
- && value != %22false%22
 ;%0A  

Fix required validator