docs(form-field): native select reset values not working in examples (#14236)

On a couple of the examples the reset option was marked as `disabled` which means that people aren't able to reset the value.

Fixes #14030.
This commit is contained in:
Kristiyan Kostadinov
2018-12-12 19:44:47 +01:00
committed by vivian-hu
parent 3661abe061
commit 97f52c0924
2 changed files with 2 additions and 2 deletions
@@ -14,7 +14,7 @@
<h4>native html select</h4>
<mat-form-field>
<select matNativeControl placeholder="Choose an option" [disabled]="disableSelect.value">
<option value="" disabled selected></option>
<option value="" selected></option>
<option value="volvo">Volvo</option>
<option value="saab" disabled>Saab</option>
<option value="mercedes">Mercedes</option>
@@ -11,7 +11,7 @@
<h4>native html select</h4>
<mat-form-field>
<select matNativeControl placeholder="Favorite car" [(ngModel)]="selectedCar" name="car">
<option value="" disabled selected></option>
<option value="" selected></option>
<option *ngFor="let car of cars" [value]="car.value">
{{car.viewValue}}
</option>