File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ <h4>mat-select</h4>
1414< h4 > native html select</ h4 >
1515< mat-form-field >
1616 < select matNativeControl placeholder ="Choose an option " [disabled] ="disableSelect.value ">
17- < option value ="" disabled selected > </ option >
17+ < option value ="" selected > </ option >
1818 < option value ="volvo "> Volvo</ option >
1919 < option value ="saab " disabled > Saab</ option >
2020 < option value ="mercedes "> Mercedes</ option >
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ <h4>mat-select</h4>
1111 < h4 > native html select</ h4 >
1212 < mat-form-field >
1313 < select matNativeControl placeholder ="Favorite car " [(ngModel)] ="selectedCar " name ="car ">
14- < option value ="" disabled selected > </ option >
14+ < option value ="" selected > </ option >
1515 < option *ngFor ="let car of cars " [value] ="car.value ">
1616 {{car.viewValue}}
1717 </ option >
You can’t perform that action at this time.
0 commit comments