ionic-framework
ionic-framework copied to clipboard
<ion-item> with [class] binding looses its other classes
List items <ion-item> with [class] binding loose their other classes ('item' etc.).
Look at the following plunker: The second item has a simple [class] binding and is no longer formatted as a list item (looses class 'item'). The third item with a binding to a specific class doesn't have this issue.
http://plnkr.co/edit/K2dq30CPbaAAz3NZyHGt?p=preview
Ionic v2 beta.10
Cordova CLI: 6.2.0
Gulp version: CLI version 3.9.1
Gulp local: Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.10
Ionic CLI Version: 2.0.0-beta.35
Ionic App Lib Version: 2.0.0-beta.19
OS:
Node Version: v6.3.0
After some further investigation I think that's the desired function of Angulars [class] binding: setting the elements class-attribute and thus replace any other 'hard coded' classes. So not an ionic specific issue.