alsoscotland / react-super-select

MIT License
95 stars 33 forks source link

_.findWhere is not a function #51

Closed daversm closed 8 years ago

daversm commented 8 years ago

I am getting this error,

I just did npm install var ReactSuperSelect = require('react-super-select');

alsoscotland commented 8 years ago

@daversm Lodash as of version 4+ has removed findWhere. I built this component prior to that release.

I will work on updating any deprecated methods I am using this week. For now, you can use the control if you lock your lodash version < 4

daversm commented 8 years ago

Using lodash <4 now .. Works perfectly now..much thanks for the quick response

alsoscotland commented 8 years ago

Now compatible with lodash 4 upgrades https://github.com/alsoscotland/react-super-select/releases/tag/v0.3.1