You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just found your awesome library, great work and thanks!!
I've been trying to implement your react-select creatable example this weekend but it's slightly out of date with current best practices. From what I can see Lodash now advise not to use _.chain anymore based on this article. Based on that I was trying to reimplement your demo code but not sure how to reimplment this...
piece of code correctly. So far I've ended up with this...
// Get the entered value
const v = lodashMapValues(values, o => o.value);
const v2 = lodashValues(v);
const $values = v2.filter(x => x !== undefined);
I'm mapping over the values to get the value, then converting it to an array, then finally removing the undefined items. I'm not sure if that is the correct intent of the original though?
Then with the rest of the code, I don't want to have the extra input fields underneath the select field as in the example, would that just be a case of removing these lines...
Hey @foxhound87,
Just found your awesome library, great work and thanks!!
I've been trying to implement your react-select creatable example this weekend but it's slightly out of date with current best practices. From what I can see Lodash now advise not to use
_.chain
anymore based on this article. Based on that I was trying to reimplement your demo code but not sure how to reimplment this...piece of code correctly. So far I've ended up with this...
I'm mapping over the values to get the value, then converting it to an array, then finally removing the undefined items. I'm not sure if that is the correct intent of the original though?
Then with the rest of the code, I don't want to have the extra input fields underneath the select field as in the example, would that just be a case of removing these lines...
Appreciate any help you can offer.
Thanks
The text was updated successfully, but these errors were encountered: