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

Track originalViewValue #223

Merged
merged 2 commits into from
Jul 21, 2016
Merged

Conversation

nmccready
Copy link
Contributor

This is needed to no longer blindly set the view back to '' on canceling.

IE:

ctrl.$setViewValue(''); is not ctrl.$setViewValue(originalViewValue);

@coveralls
Copy link

coveralls commented Jul 13, 2016

Coverage Status

Coverage increased (+0.04%) to 93.73% when pulling b3d5fe7 on nmccready:originalValueTracking into 9476430 on huei90:master.

@@ -268,6 +268,10 @@
*/
var uid = ctrl.validationId = guid();

/**
* to have avalue to rollback to
Copy link
Owner

Choose a reason for hiding this comment

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

opps typo

@hueitan
Copy link
Owner

hueitan commented Jul 14, 2016

Great and awesome @nmccready

Everything looks good 😄 There is only one extra needed

  • Test it!

@nmccready
Copy link
Contributor Author

Fixed everything.

Great and awesome @nmccready

Everything looks good 😄 There is only one extra needed

Test it!

Not sure if this mean you require specs or not. Seems overkill.

@coveralls
Copy link

coveralls commented Jul 21, 2016

Coverage Status

Coverage increased (+0.04%) to 93.73% when pulling 5d9085d on nmccready:originalValueTracking into 9476430 on huei90:master.

@hueitan
Copy link
Owner

hueitan commented Jul 21, 2016

Ok! Merge it now. thanks again 🙇

@hueitan hueitan merged commit f26019c into hueitan:master Jul 21, 2016
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.

3 participants