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

Dynamic bindings broken #2106

Closed
dylanrtt opened this Issue Dec 1, 2015 · 0 comments

Comments

Projects
None yet
2 participants
@dylanrtt
Contributor

dylanrtt commented Dec 1, 2015

I should be able use stache to define a dynamic binding. The following worked in 2.3.2 but broke in 2.3.3. Using {($value)} would throw in 2.3.2 so I have been using can-value for these situations which now also throws.

<input can-value="{{foo}}">
var vm = new can.Map({
  foo: 'bar',
  bar: 3
});

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

Looks to me like the binding might be hooked up before stache has completed, hence the value is null.

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