react-native-sectioned-multi-select
react-native-sectioned-multi-select copied to clipboard
Add subItemDisplayKey as it's own prop
Often times, the displayKey for item and subitem might not be the same and having them as same is causing issues of not displaying the the item and subitem appropriately.
great!
I think this should fall back to the displayKey
prop when subItemDisplayKey
isn't present though.
updated.
Hey @renrizzolo got a chance to look at this?
ah sorry, I did.
There are a few things that would break in its current state.
displayKey
is used for finding the items (and sub items) when displaying the selected items (chips), for example. Same for the filtering (search) function.
It's fixable but felt a little hacky.
This PR is stale because it has been open 45 days with no activity.