rkit / react-select2-wrapper

Wrapper for Select2
MIT License
163 stars 97 forks source link

Added option "selected" to items #9

Closed igogo5yo closed 8 years ago

rkit commented 8 years ago

I released a new version (0.1.0), now you can set a default value, as follows: https://github.com/rkit/react-select2-wrapper#with-default-value https://github.com/rkit/react-select2-wrapper#with-default-multiple-value

igogo5yo commented 8 years ago

Thanx!

CWSites commented 6 years ago

Hey @rkit the links you provided no longer work, where can I find out more about using "selected"?

rkit commented 6 years ago

@CWSites

{ text: 'Tag 1', id: 1, selected: true },