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

New bindings do not always update the scope #1996

Closed
dylanrtt opened this Issue Oct 17, 2015 · 1 comment

Comments

Projects
None yet
3 participants
@dylanrtt
Contributor

dylanrtt commented Oct 17, 2015

Version: v2.3.0-beta.6

http://jsbin.com/gakibebibu/edit?html,js,console,output

Using can-value="foo" or {($value)}="foo" on a text input, if I blank out the text box to an empty string, the scope is not updated. Instead, the old value remains. In some cases in my app, it would immediately update the element with the old value but I couldn't easily reproduce that here.

@justinbmeyer

This comment has been minimized.

Show comment
Hide comment
@justinbmeyer

justinbmeyer Oct 17, 2015

Contributor

good find. I'll fix this right now.

Contributor

justinbmeyer commented Oct 17, 2015

good find. I'll fix this right now.

@justinbmeyer justinbmeyer added the bug label Oct 17, 2015

justinbmeyer referenced this issue Oct 17, 2015

@daffl daffl added this to the 2.3.0 milestone Oct 20, 2015

@daffl daffl closed this Oct 21, 2015

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