Skip to content

Commit

Permalink
minor update docs/readme
Browse files Browse the repository at this point in the history
- use  `select-one` consistently (instead of `select-single` with two occurrences)
- add missing comma (,) in setup example with default options
  • Loading branch information
mysliwietzflorian authored Jan 15, 2022
1 parent 6df44b1 commit bb76a57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Or include Choices directly:
removeItems: true,
removeItemButton: false,
editItems: false,
allowHTML: true
allowHTML: true,
duplicateItemsAllowed: true,
delimiter: ',',
paste: true,
Expand Down Expand Up @@ -206,7 +206,7 @@ Choices works with the following input types, referenced in the documentation as
| HTML Element | Documentation "Input Type" |
| -------------------------------------------------------------------------------------------------------| -------------------------- |
| [`<input type="text">`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input) | `text` |
| [`<select>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select) | `select-single` |
| [`<select>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select) | `select-one` |
| [`<select multiple>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-multiple) | `select-multiple` |

## Configuration Options
Expand All @@ -215,7 +215,7 @@ Choices works with the following input types, referenced in the documentation as

**Type:** `Boolean` **Default:** `false`

**Input types affected:** `text`, `select-single`, `select-multiple`
**Input types affected:** `text`, `select-one`, `select-multiple`

**Usage:** Optionally suppress console errors and warnings.

Expand Down

0 comments on commit bb76a57

Please sign in to comment.