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

Update renderer to properly show validation result #343

Merged
merged 1 commit into from
Dec 21, 2016
Merged

Update renderer to properly show validation result #343

merged 1 commit into from
Dec 21, 2016

Conversation

MaximBalaganskiy
Copy link
Collaborator

When a form is loaded and you start editing an input making it valid straightaway it is not reflected on the input.
This is because renderer ignores valid validation results and there are no invalid results to be removed which would normally add valid class.

By moving setting valid and invalid classes to a separate cycle we will make sure that correct validation status will always be applied to the input.

When a form is loaded and you start editing an input making it valid straightaway it is not reflected on the input.
This is because renderer ignores valid validation results and there are no invalid results to be removed which would normally add `valid` class.

By moving setting `valid` and `invalid` classes to a separate cycle we will make sure that correct validation status will always be applied to the input.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 95.154% when pulling c243ef8 on MaximBalaganskiy:patch-2 into 65165b0 on aurelia-ui-toolkits:master.

@Thanood
Copy link
Collaborator

Thanood commented Dec 21, 2016

Thanks! 👍

It would be great if you used our commit message conventions (basically angular style messages) so things like this can be auto-generated into a change log. 😃

I'll change it on my side for this PR.

@Thanood Thanood merged commit 6c2d622 into aurelia-ui-toolkits:master Dec 21, 2016
@Kukks
Copy link
Contributor

Kukks commented Dec 21, 2016

@Thanood Consider including a link to the commit guidelines in https://github.com/aurelia-ui-toolkits/aurelia-materialize-bridge/blob/master/CONTRIBUTING.md

and a mention to not prep rel for PRs ;)

@Thanood
Copy link
Collaborator

Thanood commented Dec 21, 2016

@Kukks: done!
But sorry, I didn't get your second comment. Not prep what? 😃

@MaximBalaganskiy
Copy link
Collaborator Author

@Thanood

It would be great if you used our commit message conventions

Sure, will do :)

@MaximBalaganskiy MaximBalaganskiy deleted the patch-2 branch December 21, 2016 11:43
@Kukks
Copy link
Contributor

Kukks commented Dec 21, 2016

@Thanood, as a person that had to fork and use my own for my projects, I always prepared release for my repo before I opened PRs to you and I recall it not being nice due to the big diff in the PR generated.

@Thanood
Copy link
Collaborator

Thanood commented Dec 21, 2016

Ah, thanks for clarifying. Good point. 👍

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.

4 participants