Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

ng-class dynamic expression fails in 1.3.0 beta versions #7446

Closed
sivathangeswaran opened this issue May 13, 2014 · 2 comments
Closed

ng-class dynamic expression fails in 1.3.0 beta versions #7446

sivathangeswaran opened this issue May 13, 2014 · 2 comments

Comments

@sivathangeswaran
Copy link

recently, we have upgraded from 1.2.13 to 1.3.0 beta8 and we see all the ng-class expressions like below failing. we set the css calss based on some conditional value.

ng-class="{'custom-measure' : selectedRange.Id!=item.Id, 'custom-measure active' : selectedRange.Id==item.Id}"

@Narretz
Copy link
Contributor

Narretz commented May 13, 2014

See plunker: http://plnkr.co/edit/xEVIY3TwfcgQ7UoTHziB?p=preview

Could be caused by c967792 (works in beta.4)

@lgalfaso
Copy link
Contributor

This looks like the same issue at #7135 that has a PR at #7140. I am going to close this as a duplicate, but please feel free to reopen if this is in fact a different issue

@lgalfaso lgalfaso removed their assignment May 13, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants