react-native-sectioned-multi-select icon indicating copy to clipboard operation
react-native-sectioned-multi-select copied to clipboard

Checkmark is not visible when an item is selected

Open durgaswaroop opened this issue 1 year ago • 6 comments

When I select an item from the list in the modal, I can see that the onSelectedItemsChange is being triggered in the background but the checkmark next to the item is not added.

I don't see any config that could have disabled that. Here is my component and the configs.

               <SectionedMultiSelect
                    items={habitsForModal}
                    ref={habitSelectorRef}
                    IconRenderer={Icon}
                    uniqueKey="id"
                    subKey="children"
                    selectText="Select habits to link"
                    hideSelect={true}
                    showDropDowns={false}
                    searchPlaceholderText='Search through existing habits'
                    onSelectedItemsChange={habitId => {
                        console.log(habitId);
                        console.log(selectedHabits);
                    }}
                    selectedItems={selectedHabits}
                />

Is there any extra config, I need? Right now, there is no visual feedback on the modal for the items that I have clicked on and selected.

durgaswaroop avatar May 14 '23 23:05 durgaswaroop