mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-21 06:56:34 +02:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
3da5b9188c
|
@ -456,7 +456,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'},
|
||||
|
@ -464,7 +463,6 @@ example.setValue([
|
|||
]);
|
||||
|
||||
// or via an array of strings
|
||||
|
||||
example.setValue(['Four','Five','Six']);
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue