Questions tagged [react-native-picker-select]
39 questions
1
vote
0 answers
React native picker callback function issue when I'm selecting first value from the dropdown and for remaining values it is working fine
When I'm selecting first value from the dropdown then first-time setState set to the selected value (In this case first value is my dynamic value rendered from data other than "Please Select Events") but again it set to null, This is happening only…

Manoj
- 113
- 1
- 1
- 7
0
votes
0 answers
Can we add floating label like behaviour in react-native-picker-select component?
I am using react-native-picker-select component to create select drop down in my react native expo app.
I went through the documention of react-native-picker-select, but could not find anything for adding floating labels like material design.
Is it…

spjgoku
- 71
- 1
- 6
0
votes
0 answers
React Native app crashing with no error when selecting a value from RNPickerSelect
I'm working in an older codebase using React-Native 0.63 and I'm trying to add RNPickerSelect to the login page of an app. The app uses Redux for State management, I've created Types, Reducers, Selectors, Actions, and an Initial State for the Redux.…
0
votes
3 answers
Invalid hook call on RNPickerSelect
I am building my first react-native app for both android and IOS. In order for my app to function, I need to use RNPickerSelect. But for some reason when I try to do
setOrgin(value)}
…

Itay Lador
- 313
- 1
- 10
0
votes
0 answers
react-native-wheel-selector how to set value and animate programmatically
using this package for wheel selector, and works fine, I just need to select value programmatically with animation(as happen user did).
Here is source code, which works cool, just need prop to select programmatically.
import React, { useRef,…

HappyDev
- 1
- 2
0
votes
0 answers
React Native - Dropdown Value change doesn't reset the state of the subcomponents
Let's say I have a RNPickerSelect component on which I switch between subcomponents.
The values of the subcomponents are 1. Flight and 2. Car
The problem is: If switch from flight to car, the state of the components inside Flight don't reset but…

coder03
- 61
- 8
0
votes
0 answers
React Native - RNPickerSelect - Empty value before the first dropdown item
When I use RNPickerSelect I get my items in the dropdown, but right before the first one there is an empty value which I want to remove. I just want the first item to be selected automatically. Does anyone know how to solve this?
The interface I…

coder03
- 61
- 8
0
votes
1 answer
Native Base picker: how to add margin/padding to top?
In my React Native app I'm using the Native Base picker. On the iPhone 12 emulator, when the list to select from pops up it's pushed far to the top of the screen, and I have to tap just below the Back button for it to work. How can I put…

gkeenley
- 6,088
- 8
- 54
- 129
0
votes
1 answer
How to populate arraye value in drop down and on selection if one data populate in ui in react native
In my code one array contactMedium is coming in response. That I have to display in drop down and in drop down I have to display "name" and on selection of name all value should populate in respective fields, like "name" in "AddTitle",…

Abhigyan Gaurav
- 1,854
- 6
- 28
- 58
0
votes
1 answer
Displayed value not changing in react-native-picker-select after select
The value isn't updating when I select an option in RNPickerSelect.
{
setComp(value);
}}
…

Asma
- 129
- 1
- 2
- 9
0
votes
2 answers
Program type already present: com.reactnativecommunity.picker.BuildConfig
Using react-native-picker/picker library
What went wrong:
Execution failed for task ':app:multiDexListDebug'.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Error while merging dex archives:
Learn…

Agha Shayan
- 78
- 9
0
votes
0 answers
React Native Picker Display Current Month
I am using React Native Picker to display the list of month numbers.
I am trying to show the current month when loading the picker (in this case 02 (February)).
But, when loading the screen it always displays 01(January) instead of…

Beep Boop
- 327
- 6
- 30
0
votes
3 answers
How to combine different picker values for same name of the flatlist in React Native
I m retrieving some JSON data which has more than 2 attributes for the same item as follows into Picker in React Native Flatlist:
{"products":
[
{
"name": "Dried Blueberry",
"weight": "1000gm",
…

Siva
- 1
0
votes
0 answers
react-native-picker-select: item construct?
Is there any way to put an abject in the label of item?

mohamed dimessi
- 1
- 3