From 8647f36fbe13996cdd51b43b6db53a9df0a62859 Mon Sep 17 00:00:00 2001 From: Ryan B Date: Sun, 19 Dec 2021 10:14:20 -0500 Subject: [PATCH] Documentation of input type terms (#873) * Documentation of input type terms Add a table with documentation of HTML5 input tag correspondence to terms used in Choices documentation * Update README.md Clean up typos, simplify table and use MDN for reference links Co-authored-by: Matt Triff --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 1466d7c34..c3b843249 100644 --- a/README.md +++ b/README.md @@ -191,6 +191,16 @@ Or include Choices directly: | Group | A group is a collection of choices. A group should be seen as equivalent to a `` element within a select input. | | Item | An item is an inputted value (text input) or a selected choice (select element). In the context of a select element, an item is equivalent to a selected option element: `` whereas in the context of a text input an item is equivalent to `` | +## Input Types + +Choices works with the following input types, referenced in the documentation as noted. + +| HTML Element | Documentation "Input Type" | +| -------------------------------------------------------------------------------------------------------| -------------------------- | +| [``](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input) | `text` | +| [``](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-multiple) | `select-multiple` | + ## Configuration options ### silent