Merge pull request #1000 from mysliwietzflorian/mysliwietzflorian-patch-1

README Fix: Use select-single everywhere, fix missing comma in default options
This commit is contained in:
Matt Triff 2022-01-15 22:04:42 -05:00 committed by GitHub
commit 06d4435c82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -120,7 +120,7 @@ Or include Choices directly:
removeItems: true,
removeItemButton: false,
editItems: false,
allowHTML: true
allowHTML: true,
duplicateItemsAllowed: true,
delimiter: ',',
paste: true,
@ -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
@ -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.