fix(input): inputs now work in IE11 (#469)

closes #336
This commit is contained in:
Robert Messerle
2016-05-18 21:06:54 -07:00
committed by Hans
parent f53ffdbab2
commit de2a9f2d3a
2 changed files with 9 additions and 9 deletions
+8 -8
View File
@@ -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;
+1 -1
View File
@@ -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>