chore(changelog): label attr refactor

This commit is contained in:
Adam Bradley
2016-01-27 11:09:48 -06:00
parent 47806dc1f2
commit ca6eef9c31

View File

@@ -15,6 +15,7 @@
* Inputs are now placed inside of `ion-item`
* Inputs do not come with their own label
* `ion-item-content` has been replaced with `ion-label`
* Label attributes are placed on `ion-label` rather than `ion-input`
* Native HTML `<input>` and `<textarea>` should not be used in items, but instead `<ion-input>` and `<ion-textarea>`
@@ -169,6 +170,37 @@ Now:
```
##### Label Attribute Refactor
Was:
```
<ion-input fixed-label>
<ion-label>Username</ion-label>
<input type="text">
</ion-input>
<ion-input floating-label>
<ion-label>Email</ion-label>
<input type="email">
</ion-input>
```
Now:
```
<ion-input>
<ion-label fixed>Username</ion-label>
<ion-input></ion-input>
</ion-input>
<ion-input>
<ion-label floating>Email</ion-label>
<ion-input type="email"></ion-input>
</ion-input>
```
<a name="2.0.0-alpha.52"></a>
# 2.0.0-alpha.52 (2016-01-25)