Skip to content

Selectmenu: Add disabled default options to product selection demo #1520

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions demos/selectmenu/product-selection.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,7 @@

#circle {
float: left;
background: yellow;
border-radius: 50%;
width: 150px;
height: 150px;
}
</style>
</head>
Expand All @@ -62,18 +59,20 @@
<fieldset>
<label for="radius">Circle radius</label>
<select name="radius" id="radius">
<option selected="selected" disabled="disabled">Please choose a size</option>
<option value="50">50px</option>
<option value="100">100px</option>
<option value="150" selected="selected">150px</option>
<option value="150">150px</option>
<option value="200">200px</option>
<option value="250">250px</option>
</select>

<label for="color">Circle color</label>
<select name="color" id="color">
<option selected="selected" disabled="disabled">Please choose a color</option>
<option value="black">Black</option>
<option value="red">Red</option>
<option value="yellow" selected="selected">Yellow</option>
<option value="yellow">Yellow</option>
<option value="blue">Blue</option>
<option value="green">Green</option>
</select>
Expand Down