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

AchinthaReemal picture AchinthaReemal  路  3Comments

mjuopperi picture mjuopperi  路  3Comments

batusai513 picture batusai513  路  3Comments

Meesam picture Meesam  路  3Comments

sampatbadhe picture sampatbadhe  路  3Comments