Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

MultiSelect React native app not working on search

$
0
0

I am new to React Native. My MultiSelect search not working only if inputed *, for others text working. App crashes on * input.

Help will be appreciated.

Here is my code-

<MultiSelect                                hideTags={true}                                ref={(component) => { this.multiSelect = component }}                                items={this.state.organizations}                                uniqueKey="id"                                onSelectedItemsChange={this.onSelectedItemsChange}                                selectedItems={this.state.selectedItems}                                selectText="   Select organizations"                                searchInputPlaceholderText="Search organization..."                                onChangeInput={ (text)=> console.log(text)}                                itemFontFamily="OpenSans-SemiBold"                                selectedItemTextColor={COLORS.proposal}                                selectedItemIconColor={COLORS.proposal}                                displayKey="name"                                fixedHeight={true}                                styleInputGroup={{height:40}}                                submitButtonColor={COLORS.new}                                submitButtonText="Ok"                                styleItemsContainer={{borderTopWidth:0.3}}                                styleMainWrapper={{margin:5}}                            />

Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>