tableflip / react-native-select-multiple

☑️ A customiseable FlatList that allows you to select multiple rows
ISC License
191 stars 62 forks source link

selectedItems returns an object of undefined objects #34

Open mnnlthmpsn opened 5 years ago

mnnlthmpsn commented 5 years ago

Screenshot (15) Check box doesn't tick when I click on it. I decided to console.log(selectedItems) and anytime i click a checkbox for the first time, an array of a valid label and value is logged. But when I add another click, the first object re evaluates to undefined

alanshaw commented 4 years ago

Please PR with fix 🙏

longnk-1447 commented 4 years ago

Screenshot (15) Check box doesn't tick when I click on it. I decided to console.log(selectedItems) and anytime i click a checkbox for the first time, an array of a valid label and value is logged. But when I add another click, the first object re evaluates to undefined

the same, when my input a object array