Skip to content

Commit

Permalink
fix(input): inputs now work in IE11 (#469)
Browse files Browse the repository at this point in the history
closes #336
  • Loading branch information
robertmesserle authored and hansl committed May 19, 2016
1 parent f53ffdb commit de2a9f2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions src/components/input/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,17 +143,17 @@ export class MdInput implements ControlValueAccessor, AfterContentInit, OnChange
@Input() @BooleanFieldValue() autoFocus: boolean = false;
@Input() @BooleanFieldValue() disabled: boolean = false;
@Input() id: string = `md-input-${nextUniqueId++}`;
@Input() list: string;
@Input() max: string;
@Input() maxLength: number = -1;
@Input() min: string;
@Input() minLength: number;
@Input() placeholder: string;
@Input() list: string = null;
@Input() max: string = null;
@Input() maxLength: number = null;
@Input() min: string = null;
@Input() minLength: number = null;
@Input() placeholder: string = null;
@Input() @BooleanFieldValue() readOnly: boolean = false;
@Input() @BooleanFieldValue() required: boolean = false;
@Input() @BooleanFieldValue() spellCheck: boolean = false;
@Input() step: number;
@Input() tabIndex: number;
@Input() step: number = null;
@Input() tabIndex: number = null;
@Input() type: string = 'text';
@Input() name: string = null;

Expand Down
2 changes: 1 addition & 1 deletion src/demo-app/input/input-demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

<md-card class="demo-card">
<md-card-title>
Hello <md-input [(ngModel)]="name" type="string" placeholder="First name"></md-input>,
Hello <md-input [(ngModel)]="name" type="text" placeholder="First name"></md-input>,
how are you?
</md-card-title>
<md-card-content>
Expand Down

0 comments on commit de2a9f2

Please sign in to comment.