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-04-04 15:43:22 +02:00
|
|
|
<div class="container">
|
|
|
|
<label for="1">Text input with no values and a limit of 5 items</label>
|
2016-04-04 22:44:32 +02:00
|
|
|
<input id="1" type="text" data-choice value="preset-1 preset-2">
|
2016-03-18 12:05:50 +01:00
|
|
|
|
2016-04-04 15:43:22 +02: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
|
|
|
|
2016-04-04 15:43:22 +02:00
|
|
|
<label for="3">Text input that only allows email addresses</label>
|
|
|
|
<input id="3" type="text" data-choice placeholder="This is a placeholder">
|
2016-03-24 15:42:03 +01:00
|
|
|
|
2016-04-04 15:43:22 +02:00
|
|
|
<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">
|
2016-03-24 15:42:03 +01:00
|
|
|
|
2016-04-04 15:43:22 +02:00
|
|
|
<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">
|
2016-03-18 12:05:50 +01:00
|
|
|
|
2016-04-04 15:43:22 +02:00
|
|
|
</div>
|
2016-03-18 12:05:50 +01:00
|
|
|
<script src="assets/scripts/dist/bundle.js"></script>
|
2016-03-15 15:39:22 +01:00
|
|
|
</body>
|
|
|
|
</html>
|