alsoscotland / react-super-select

MIT License
95 stars 33 forks source link

Call onChange when clearSelectedValueOnDataSourceChange changes value #113

Closed VikLiegostaiev closed 7 years ago

VikLiegostaiev commented 7 years ago

Hi, when dataSource changes and clearSelectedValueOnDataSourceChange is true then value changes to empty array, but it doesn't call onChange function with this newValue. Can you please add this?

alsoscotland commented 7 years ago

@VikLiegostaiev I will take a look

alsoscotland commented 7 years ago

@VikLiegostaiev
I think this is all that it needs. Would you be able to verify if that branch does what you need? https://github.com/alsoscotland/react-super-select/pull/114

VikLiegostaiev commented 7 years ago

Yes it is, thanks. Will you add this to master branch?

alsoscotland commented 7 years ago

@VikLiegostaiev released https://github.com/alsoscotland/react-super-select/tree/v1.0.3