Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Mar 7, 2021. It is now read-only.

Conversation

@vadymmarkov
Copy link
Collaborator

@3lvis @zenangst

Validation works for disabled fields as well, but they were not highlighted with invalidColor. This PR aims to fix that.

- (void)updateWithField:(FORMField *)field {
[super updateWithField:field];

[self validate];
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Let me know if you guys see any implication of calling validate here. I's done to update isValid property considering the new value whenever the field is changed.

@vadymmarkov
Copy link
Collaborator Author

I see https://github.com/hyperoslo/Form/pull/549 fixes Travis, so it's better to get it merged before this one I guess.

@zenangst zenangst merged commit 1dfd8e5 into master Nov 1, 2016
@zenangst zenangst deleted the feature/disabled-errors branch November 1, 2016 15:07
@zenangst
Copy link
Contributor

zenangst commented Nov 1, 2016

@vadymmarkov 🚀

@zenangst
Copy link
Contributor

zenangst commented Nov 1, 2016

Lets try and fix the Travis build :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants