rkit / react-select2-wrapper

Wrapper for Select2
MIT License
163 stars 97 forks source link

how to use <FormattedMessage /> inside options #78

Closed fsabreu closed 6 years ago

fsabreu commented 6 years ago

Hi,

I want to use Select2 with react-boilerplate. And my app will have multilanguage.

My problem is, I don't know how can I put <FormattedMessage {...messages.orderBy} /> on data or option/placeholder.

Can you help me with this?

thanks