tableflip / react-native-select-multiple

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

Added ComponentDidMount #32

Closed MnaveedS closed 4 years ago

MnaveedS commented 5 years ago

The Latest release version 2.0.0 was not rendering any thing on the list after the inclusion of a flatlist.

Added componentDidMount() and .toString() to keyExtractor.

Tested and works for me

alanshaw commented 5 years ago

Please remove the fortmatting changes so I can review the fix

MnaveedS commented 5 years ago

The formatting are removed.

emrekap commented 5 years ago

.toString() to keyExtractor is very important. without it RN gives warning:

Warning: Failed child context type: Invalid child context virtualizedCell.cellKey of type number supplied to CellRenderer, expected string.

cschloer commented 4 years ago

Bumping this PR - this package does not work without it