diff --git a/README.md b/README.md index ea3a055..96199fd 100644 --- a/README.md +++ b/README.md @@ -134,15 +134,15 @@ Pass an array of objects: Pass an array of objects: ``` -[{ +[{ value: 'Option 1', - label: 'Option 1', + label: 'Option 1', selected: true, disabled: false, }, -{ +{ value: 'Option 2', - label: 'Option 2', + label: 'Option 2', selected: false, disabled: true, }] @@ -169,10 +169,10 @@ Pass an array of objects: Usage: Whether a user can remove items. -### removeButton +### removeItemButton Type: `Boolean` Default: `false` -Input types affected: `text`, `select-multiple` +Input types affected: `text`, `select-one`, `select-multiple` Usage: Whether a button should show that, when clicked, will remove an item. @@ -300,7 +300,7 @@ const example = new Choices(element, { Usage: The text that is shown when a user has selected all possible choices. ### classNames -Type: `Object` Default: +Type: `Object` Default: ``` classNames: {