raynor85 / react-native-material-selectize

A React Native component inspired to Selectize which follows Material Design guidelines.
MIT License
55 stars 32 forks source link

Asynchronous selectedItems #20

Closed JordiZamoraV closed 5 years ago

JordiZamoraV commented 5 years ago

The selectedItems are set in the component constructor. If they are set after the component initialization, they will not be displayed.

A solution is looking for selectedItems changes in the componentWillReceiveProps hook.

BukhariMuslim commented 5 years ago

@raynor85 is this already on lastest release? I've tried v1.13.0 but these lines of code not there.

raynor85 commented 5 years ago

It should be fine now, sorry about that I forgot to publish it

raynor85 commented 5 years ago

I had to rollback this PR, because it breaks the current functionality. I will investigate further and try to put it back in a way it doesn't break.