Skip to content
New issue

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

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

Already on GitHub? # to your account

Doesn't update when changing form inputs, only when set() is called manually? #4

Closed
kanwei opened this issue Sep 21, 2012 · 2 comments

Comments

@kanwei
Copy link

kanwei commented Sep 21, 2012

I've got a model with an "email" attribute. It is tied to a form input element, and also to a regular div. However, when I change the email in the form input, it does not update the email in the regular div, unless I do something like model.set(model.attributes). Is this intentional behavior?

@kanwei
Copy link
Author

kanwei commented Sep 21, 2012

Here's a fiddle to demonstrate: http://jsfiddle.net/kanwei/A4Tu8/

@delambo
Copy link
Member

delambo commented Sep 21, 2012

@kanwei Thanks for the heads-up. I never came across that use case so I didn't think to implement it, but it is worthy of a patch.

Check your fiddle - should work now with master.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants