Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing #123 #124

Merged
merged 5 commits into from
Oct 31, 2018
Merged

Fixing #123 #124

merged 5 commits into from
Oct 31, 2018

Conversation

TheMcMurder
Copy link
Contributor

Fixing #123 and fixing the failing build.

@@ -272,7 +272,7 @@ exports.default = function (Component) {
};

WrappedComponent.defaultProps = {
innerRef: function innerRef() {},
innerRef: null,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes the build, which is currently broken here.


const inputComponent = TestUtils.findRenderedComponentWithType(form, TestInput);
test.equal(inputComponent.isValid(), false);
test.equal(inputComponent.getErrorMessage(), 'Field is required');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without the above change this will fail

@MilosRasic
Copy link
Contributor

Looks good.

@MilosRasic MilosRasic merged commit 1c5cc12 into formsy:master Oct 31, 2018
hashwin pushed a commit to hashwin/formsy-react that referenced this pull request Jun 12, 2019
* Fixing linting issues

* Fixing issue where validationError wasn't appearing on when the field was required

* Updating lib and release

* Adding semicolons to fix lint issues

* Slightly cleaner solution
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants