freeman-lab / control-panel

embeddable panel of inputs for parameter setting
MIT License
237 stars 17 forks source link

Missing ',' in README example #25

Closed RELNO closed 5 years ago

RELNO commented 5 years ago

In https://github.com/freeman-lab/control-panel#example

screen shot 2018-08-13 at 10 10 29

Should be: {type: 'select', label: 'select one', options: ['option 1', 'option 2'], initial: 'option 1'} ,{type: 'multibox', label: 'check many', count: 3, initial: [true, false, true]}

Thanks for a great tool!

freeman-lab commented 5 years ago

fixed by a PR, thanks for flagging!