mirror of
https://github.com/Choices-js/Choices.git
synced 2024-06-26 17:31:02 +02:00
Update README.md
This commit is contained in:
parent
777df12fe5
commit
e5bf9b76bd
26
README.md
26
README.md
|
@ -158,13 +158,13 @@ Pass an array of objects:
|
||||||
```
|
```
|
||||||
[{
|
[{
|
||||||
value: 'Value 1',
|
value: 'Value 1',
|
||||||
label: 'Label 1',
|
label: 'Label 1',
|
||||||
id: 1
|
id: 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 'Value 2',
|
value: 'Value 2',
|
||||||
label: 'Label 2',
|
label: 'Label 2',
|
||||||
id: 2
|
id: 2
|
||||||
}]
|
}]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -179,16 +179,16 @@ Pass an array of objects:
|
||||||
|
|
||||||
```
|
```
|
||||||
[{
|
[{
|
||||||
value: 'Option 1',
|
value: 'Option 1',
|
||||||
label: 'Option 1',
|
label: 'Option 1',
|
||||||
selected: true,
|
selected: true,
|
||||||
disabled: false,
|
disabled: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 'Option 2',
|
value: 'Option 2',
|
||||||
label: 'Option 2',
|
label: 'Option 2',
|
||||||
selected: false,
|
selected: false,
|
||||||
disabled: true,
|
disabled: true,
|
||||||
}]
|
}]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue