Choices/index.html

55 lines
2.3 KiB
HTML
Raw Normal View History

2016-03-15 15:39:22 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Choices</title>
<link rel="stylesheet" href="assets/styles/css/choices.css">
2016-03-15 15:39:22 +01:00
</head>
<body>
<label for="1">Text input with no values and a limit of 5 items</label>
<input id="1" type="text" data-choice value="preset-1, preset-2">
<!--
<label for="2">Text input with preset values, custom classes and a placeholder. No duplicate values allowed</label>
<input id="2" type="text" data-choice value="preset-1, preset-2" placeholder="This is a placeholder" class="custom class">
<label for="3">Text input that only allows email addresses</label>
<input id="3" type="text" data-choice placeholder="This is a placeholder">
<label for="4">Text input that disables adding items</label>
<input id="4" type="text" data-choice value="josh@joshuajohnson.co.uk, joe@bloggs.co.uk" placeholder="This is a placeholder">
<label for="5">Text input that prepends and appends a value to each item</label>
<input id="5" type="text" data-choice value="preset-1, preset-2" placeholder="This is a placeholder"> -->
<!-- <label for="3">Select input with two options</label>
<select id="3" name="3" data-choice>
<option value="Value 1">Value 1</option>
<option value="Value 2">Value 2</option>
<option value="Value 3">Value 3</option>
<option value="Value 4">Value 4</option>
<option value="Value 5">Value 5</option>
<option value="Value 6">Value 6</option>
</select>
<select id="4" name="4" data-choice>
<optgroup label="Group 1">
<option value="Value 1">Value 1</option>
<option value="Value 2">Value 2</option>
<option value="Value 3">Value 3</option>
</optgroup>
<optgroup label="Group 2">
<option value="Value 4">Value 4</option>
<option value="Value 5">Value 5</option>
<option value="Value 6">Value 6</option>
</optgroup>
</select> -->
<!-- <label for="4">Multiple select input with two options</label>
<select id="4" name="4" data-choice multiple>
<option value="Value 1">Value 1</option>
<option value="Value 2">Value 2</option>
</select>
-->
<script src="assets/scripts/dist/bundle.js"></script>
2016-03-15 15:39:22 +01:00
</body>
</html>