-
Notifications
You must be signed in to change notification settings - Fork 338
One-time binding fail due to Angular Batarang 0.8.6 #255
Comments
I was not able to reproduce. Are you sure you're on Batarang 0.8.6? (and not Batarang "Stable", which is not associated with the project at all?) |
+1, definitely with Batarang 0.8.6
"foo" keeps it initial value on click if Batarang is disabled, which is the desired behavior. |
Not just Angular 1.4, was able to repro with 1.3 here: http://output.jsbin.com/warariduci |
ill take this. we need to skip doing any perf watching if the interpolation functions expression is a one time binding. we previously did this with strings that where one time bindings (can be seen a couple of lines prior to line 85). |
@SomeKittens @btford i'll need to discuss the solution with you guys on thursday since it seems pretty hacky (again related to the fact we the decorate the original expressions) and it might not make sense to fix it since batarang doesn't expose the watch performance on the panels at the moment. |
Fixed in angular/angular-hint@0b98cfa |
Am able to reproduce this 0.10.5 batarang and angular 1.3.8 |
@preethi29 Please include a Plunkr or JSBin with your reproduction. |
When I enabled the Angular Batarang 0.8.6, the "One-time binding" feature will be disabled. I'm using AngularJS 1.4. You can reproduce this problem at this page. Please try to enter something in the first input field. ( default value is T-Shirt and there is a angular expression below the form fields )
The text was updated successfully, but these errors were encountered: