Skip to content

Commit a1eadc9

Browse files
committed
docs(material/select): fix select within dialog example not selecting option
1 parent 0b2d150 commit a1eadc9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/dev-app/select/select-demo.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,9 @@
261261
<mat-form-field>
262262
<mat-label>Select a topping</mat-label>
263263
<mat-select>
264-
<mat-option>Cheese</mat-option>
265-
<mat-option>Onion</mat-option>
266-
<mat-option>Pepper</mat-option>
264+
<mat-option value="cheese">Cheese</mat-option>
265+
<mat-option value="onion">Onion</mat-option>
266+
<mat-option value="pepper">Pepper</mat-option>
267267
</mat-select>
268268
</mat-form-field>
269269

0 commit comments

Comments
 (0)