mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-17 13:06:34 +02:00
Update README.md
This commit is contained in:
parent
44d65ae580
commit
4935d279f8
|
@ -448,7 +448,6 @@ const valueArray = example.getValue(); // returns [{ active: true, choiceId: 1,
|
|||
const example = new Choices(element);
|
||||
|
||||
// via an array of objects
|
||||
|
||||
example.setValue([
|
||||
{value: 'One', label: 'Label One'},
|
||||
{value: 'Two', label: 'Label Two'},
|
||||
|
@ -456,7 +455,6 @@ example.setValue([
|
|||
]);
|
||||
|
||||
// or via an array of strings
|
||||
|
||||
example.setValue(['Four','Five','Six']);
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue