Update README.md

This commit is contained in:
Josh Johnson 2016-08-02 21:16:06 +01:00 committed by GitHub
parent 44d65ae580
commit 4935d279f8

View file

@ -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']);
```