fix(input): parent Item is optional

This commit is contained in:
Adam Bradley
2016-02-01 12:13:49 -06:00
parent 329c1127c5
commit db6f4bce31
2 changed files with 6 additions and 2 deletions

View File

@@ -79,7 +79,7 @@ export class TextInput extends InputBase {
constructor(
config: Config,
form: Form,
item: Item,
@Optional() item: Item,
app: IonicApp,
platform: Platform,
elementRef: ElementRef,
@@ -147,7 +147,7 @@ export class TextArea extends InputBase {
constructor(
config: Config,
form: Form,
item: Item,
@Optional() item: Item,
app: IonicApp,
platform: Platform,
elementRef: ElementRef,

View File

@@ -85,4 +85,8 @@
</ion-item>
</ion-list>
<ion-input placeholder="Stand-alone ion-input"></ion-input>
<ion-input placeholder="Stand-alone textarea"></ion-input>
</ion-content>