2016-03-15 15:39:22 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>Choices</title>
|
2016-03-18 00:10:16 +01:00
|
|
|
<link rel="stylesheet" href="assets/styles/css/choices.css">
|
2016-04-08 23:33:13 +02:00
|
|
|
<script src="assets/scripts/dist/bundle.js"></script>
|
2016-03-15 15:39:22 +01:00
|
|
|
</head>
|
|
|
|
<body>
|
2016-04-04 15:43:22 +02:00
|
|
|
<div class="container">
|
2016-04-07 20:44:16 +02:00
|
|
|
<div class="section">
|
|
|
|
<h1>Choices</h1>
|
2016-04-10 22:23:42 +02:00
|
|
|
<label for="choices-1">Text input with no values and a limit of 5 items</label>
|
|
|
|
<input id="choices-1" type="text" value="preset-1 preset-2">
|
2016-03-18 12:05:50 +01:00
|
|
|
|
2016-04-10 22:23:42 +02:00
|
|
|
<label for="choices-2">Text input with preset values, custom classes and a placeholder. No duplicate values allowed</label>
|
|
|
|
<input id="choices-2" type="text" value="preset-1, preset-2" placeholder="This is a placeholder" class="custom class">
|
2016-03-24 15:42:03 +01:00
|
|
|
|
2016-04-10 22:23:42 +02:00
|
|
|
<label for="choices-3">Text input that only allows email addresses</label>
|
|
|
|
<input id="choices-3" type="text" placeholder="This is a placeholder">
|
2016-03-24 15:42:03 +01:00
|
|
|
|
2016-04-10 22:23:42 +02:00
|
|
|
<label for="choices-4">Text input that disables adding items</label>
|
|
|
|
<input id="choices-4" type="text" value="josh@joshuajohnson.co.uk, joe@bloggs.co.uk" placeholder="This is a placeholder">
|
2016-03-24 15:42:03 +01:00
|
|
|
|
2016-04-21 15:42:57 +02:00
|
|
|
<label for="choices-5">Text input that prepends and appends a value to each items return value</label>
|
2016-04-10 22:23:42 +02:00
|
|
|
<input id="choices-5" type="text" value="preset-1, preset-2" placeholder="This is a placeholder">
|
2016-04-07 14:57:57 +02:00
|
|
|
|
2016-04-10 22:23:42 +02:00
|
|
|
<label for="choices-6">Text input with preset values passed through options</label>
|
|
|
|
<input id="choices-6" type="text" placeholder="This is a placeholder">
|
2016-04-08 23:33:13 +02:00
|
|
|
|
2016-04-10 22:23:42 +02:00
|
|
|
<label for="choices-7">Select box</label>
|
|
|
|
<select name="choices-7" id="choices-7" placeholder="This is a placeholder" multiple>
|
|
|
|
<option value="Dropdown item 1">Dropdown item 1</option>
|
2016-04-12 23:42:56 +02:00
|
|
|
<option value="Dropdown item 2">Dropdown item 2</option>
|
2016-04-10 22:23:42 +02:00
|
|
|
<option value="Dropdown item 3">Dropdown item 3</option>
|
2016-04-12 23:42:56 +02:00
|
|
|
<option value="Dropdown item 4" disabled="disabled">Dropdown item 4</option>
|
2016-04-10 22:23:42 +02:00
|
|
|
</select>
|
|
|
|
|
2016-04-16 18:06:27 +02:00
|
|
|
<!-- <label for="choices-8">Select box</label>
|
2016-04-10 22:23:42 +02:00
|
|
|
<select id="choices-8" name="choices-8" data-choice placeholder="This is a placeholder" multiple>
|
|
|
|
<option value="Dropdown item 1">Dropdown item 1</option>
|
2016-04-12 23:42:56 +02:00
|
|
|
<option value="Dropdown item 2">Dropdown item 2</option>
|
2016-04-10 22:23:42 +02:00
|
|
|
<option value="Dropdown item 3">Dropdown item 3</option>
|
|
|
|
</select>
|
2016-04-08 23:33:13 +02:00
|
|
|
|
2016-04-15 10:19:02 +02:00
|
|
|
<label for="choices-9">Select box with pre-selected option</label>
|
2016-04-10 22:23:42 +02:00
|
|
|
<select id="choices-9" name="choices-9" data-choice placeholder="This is a placeholder" multiple>
|
2016-04-08 23:33:13 +02:00
|
|
|
<option value="Dropdown item 1">Dropdown item 1</option>
|
|
|
|
<option value="Dropdown item 2" selected>Dropdown item 2</option>
|
|
|
|
<option value="Dropdown item 3">Dropdown item 3</option>
|
2016-04-16 18:06:27 +02:00
|
|
|
</select> -->
|
2016-04-15 10:19:02 +02:00
|
|
|
|
2016-04-16 18:06:27 +02:00
|
|
|
<label for="choices-10">Select box with option groups</label>
|
2016-04-15 10:19:02 +02:00
|
|
|
<select id="choices-10" name="choices-10" data-choice placeholder="This is a placeholder" multiple>
|
2016-04-22 20:45:50 +02:00
|
|
|
<optgroup label="UK">
|
|
|
|
<option value="London">London</option>
|
|
|
|
<option value="Manchester">Manchester</option>
|
|
|
|
<option value="Liverpool">Liverpool</option>
|
2016-04-15 10:19:02 +02:00
|
|
|
</optgroup>
|
2016-04-22 20:45:50 +02:00
|
|
|
<optgroup label="FR">
|
|
|
|
<option value="Paris">Paris</option>
|
|
|
|
<option value="Lyon">Lyon</option>
|
|
|
|
<option value="Marseille">Marseille</option>
|
2016-04-15 10:19:02 +02:00
|
|
|
</optgroup>
|
2016-04-22 20:45:50 +02:00
|
|
|
<optgroup label="DL" disabled>
|
|
|
|
<option value="Hamburg">Hamburg</option>
|
|
|
|
<option value="Munich">Munich</option>
|
|
|
|
<option value="Berlin">Berlin</option>
|
2016-04-15 10:19:02 +02:00
|
|
|
</optgroup>
|
|
|
|
</select>
|
2016-04-07 20:44:16 +02:00
|
|
|
</div>
|
2016-04-04 15:43:22 +02:00
|
|
|
</div>
|
2016-03-15 15:39:22 +01:00
|
|
|
</body>
|
|
|
|
</html>
|