React-select: Data Source Update and selected 'label' update issue

Created on 8 Sep 2018  路  1Comment  路  Source: JedWatson/react-select

When I have translation feature on the website, I would like to update the data options of the select as well. If an option is selected and language change happens then, options get updated however the selected label doesn't get updated to the latest translation data (or vise versa)

I've tried to reproduce the issue here.
https://codesandbox.io/s/k0k9rz375

The checkbox in the page can be considered as language change trigger.

When the options get updated, the corresponding label of previously selected value should be displayed.

Most helpful comment

>All comments

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MindRave picture MindRave  路  3Comments

pashap picture pashap  路  3Comments

juliensnz picture juliensnz  路  3Comments

MalcolmDwyer picture MalcolmDwyer  路  3Comments

coder-guy22296 picture coder-guy22296  路  3Comments