Closed kowshika05 closed 3 years ago
Describe the bug I'm adding a placeholder in my picker, It is showing in items list also. Is there any way to achieve a callback while clicking on a placeholder?
This is my code,
` <RNPickerSelect
style={{ inputAndroid: styles.inputAndroid, placeholder: styles.placeholderStyle, }} placeholderTextColor={Colors.coolGrey} placeholder={{label: placeholder}} value={value} onValueChange={this.onChangeDropdown} useNativeAndroidPickerStyle={false} items={data} Icon={this.dropDownArrowView} />`
Additional details
what about having your onValueChange detect the value of the placeholder to call a different function?
onValueChange
closing due to inactivity
Describe the bug
I'm adding a placeholder in my picker, It is showing in items list also. Is there any way to achieve a callback while clicking on a placeholder?
This is my code,
` <RNPickerSelect
Additional details