Closed joetidee closed 8 years ago
I would like to set the value of the Select2 element after it has been rendered, i.e. when a user clicks a button it changes tha value of the Select2 component. How can I do this?
You need re-render with new value examples/src/components/Tags.js#L43-L68
I think, this one could be closed, since it's not an actual issue. Or please describe your problem more precisely.
I would like to set the value of the Select2 element after it has been rendered, i.e. when a user clicks a button it changes tha value of the Select2 component. How can I do this?