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-03-15 15:39:22 +01:00
|
|
|
</head>
|
|
|
|
<body>
|
2016-03-18 12:05:50 +01:00
|
|
|
<label for="1">Text input with no values and a limit of 5 items</label>
|
2016-04-04 00:07:10 +02:00
|
|
|
<input id="1" type="text" data-choice value="preset-1, preset-2">
|
|
|
|
<!--
|
2016-03-18 12:05:50 +01:00
|
|
|
<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">
|
|
|
|
|
2016-03-24 15:42:03 +01:00
|
|
|
<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>
|
2016-04-04 00:07:10 +02:00
|
|
|
<input id="5" type="text" data-choice value="preset-1, preset-2" placeholder="This is a placeholder"> -->
|
2016-03-24 15:42:03 +01:00
|
|
|
|
|
|
|
<!-- <label for="3">Select input with two options</label>
|
2016-03-18 12:05:50 +01:00
|
|
|
<select id="3" name="3" data-choice>
|
|
|
|
<option value="Value 1">Value 1</option>
|
|
|
|
<option value="Value 2">Value 2</option>
|
2016-03-21 20:27:52 +01:00
|
|
|
<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>
|
2016-03-18 12:05:50 +01:00
|
|
|
</select>
|
|
|
|
|
2016-03-21 23:45:49 +01:00
|
|
|
<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>
|
2016-03-24 15:42:03 +01:00
|
|
|
</select> -->
|
2016-03-21 23:45:49 +01:00
|
|
|
|
2016-03-18 12:05:50 +01:00
|
|
|
<!-- <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>
|