Open amoswijaya opened 3 years ago
this my code...
<SearchableDropdown onTextChange={(text) => console.log(text)} onItemSelect={item => alert(JSON.stringify(item))} containerStyle={styles.dropDown} textInputStyle={styles.textInputStyle} itemStyle={{padding:20}} itemTextStyle={styles.label} itemsContainerStyle={styles.itemsContainerStyle} items={this.props.items} defaultIndex={0} placeholder={this.props.placeholder} resPtValue={false} underlineColorAndroid="transparent" placeholderTextColor='#000' />
i tryed in iphone 12 is working but in ipad is not working props 'onItemSelect'
this my code...
<SearchableDropdown onTextChange={(text) => console.log(text)} onItemSelect={item => alert(JSON.stringify(item))} containerStyle={styles.dropDown} textInputStyle={styles.textInputStyle} itemStyle={{padding:20}} itemTextStyle={styles.label} itemsContainerStyle={styles.itemsContainerStyle} items={this.props.items} defaultIndex={0} placeholder={this.props.placeholder} resPtValue={false} underlineColorAndroid="transparent" placeholderTextColor='#000' />
i tryed in iphone 12 is working but in ipad is not working props 'onItemSelect'