mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
chore(demo): fix select demo (#2959)
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
<p> Touched: {{ drinkControl.touched }} </p>
|
||||
<p> Dirty: {{ drinkControl.dirty }} </p>
|
||||
<p> Status: {{ drinkControl.control?.status }} </p>
|
||||
<button md-button (click)="currentDrink='sprite-1'">SET VALUE</button>
|
||||
<button md-button (click)="currentDrink='water-2'">SET VALUE</button>
|
||||
<button md-button (click)="isRequired=!isRequired">TOGGLE REQUIRED</button>
|
||||
<button md-button (click)="isDisabled=!isDisabled">TOGGLE DISABLED</button>
|
||||
<button md-button (click)="drinkControl.reset()">RESET</button>
|
||||
|
||||
Reference in New Issue
Block a user