Questions tagged [react-native-dropdown-picker]
43 questions
0
votes
1 answer
How to deselect an already selected item in the react-native-dropdown-picker?
I'm using react-native-dropdown-picker to implement a dropdown in my react-native mobile app.
Following is my code:
import React, { useState } from 'react';
import { View } from 'react-native';
import DropDownPicker from…

Reta Agnes
- 3
- 2
0
votes
4 answers
Customize elements in react-native-dropdown-picker
React Native Dropdown Picker is the most popular library to implement a dropdown in React Native. But in the library, I could not find a way to customize the dropdown arrow and the ticks in the dropdown list. They are by default in black color and…

Anna Fletcher
- 85
- 2
- 5
0
votes
1 answer
React Native Functional Component react-native-select2 onSelected Value not update
React Native Functional Component react-native-select2 onSelected Value not updateing.
https://www.npmjs.com/package/@schmelman/rns2
https://snack.expo.dev/@prem18mca/select2-functional
https://snack.expo.dev/@prem18mca/select2
import React, {…

Prem
- 153
- 1
- 7
0
votes
3 answers
react-native-dropdown-picker error - "onChange is not an function (In onChange(value), onChange is undefined"
Im trying to use DropDownPicker from react-native-dropdown-picker with Controllers from react-hook-form. Any ideas how to fix it?
Problematic part with error code

Tomáš Gabriel
- 113
- 8
0
votes
0 answers
Dropdown not working ,using Ts in react-native
I made custom dropdown component using model and flatlist.but its showing error(Property 'label' does not exist on type 'never') and its not working properly.
component code below here is whole block for that componenet part
interface Props {
…

Shubham Sonar
- 11
- 2
0
votes
1 answer
How to create a Date Of birth field using 3 pickers from react native dropdown picker.?
Greeting Everyone.
Here is the link using react native dropdown date, i want to create something like this using drop down picker. https://codesandbox.io/s/react-dropdown-date-demo-gbm2k. Please help me

haridev
- 5
- 7
0
votes
0 answers
Initalize React Dropdown Picker with axios call
I'm trying to initialize a dropdown (react-dropdown-picker) with data from the database which I retrieve through an axios call. I've many different ways, why can't I set the set with the data from the response? I get the below error:
items.filter is…

GeeGee23
- 1
- 1
0
votes
1 answer
Add items for dropdown in RNPickerSelect in React Native
i am getting array of objects from api.
The data looks like this.
Array [
Object {
"code": 230,
"name": "טרגט",
"themeColor": "#009fe8",
},
Object {
"code": 270,
"name": "קוסל",
"themeColor": "#9c3ab4",
},
Object {
…

Chinmayee Sahoo
- 89
- 7
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
2 answers
react-native modal-dropdown issues with object array datasource
i finally found a dropdown menu that seems suitable to my needs, but i've got some issues with that tool..
my dropdata is an array ob objects, with label and value pairs in it..
when i try to use this as source for my dropdown i have to use the…

blendstylez
- 341
- 3
- 16
0
votes
1 answer
Passing in Items as Props to be used in React Native Drop Menu
I have some React code to render a react-native-dropdown-picker DropMenu that looks like so:
export const DropMenu = () => {
const [open, setOpen] = useState(false);
const [value, setValue] = useState(null);
const [items, setItems] =…

Muirik
- 6,049
- 7
- 58
- 116
0
votes
1 answer
How to close dropdown box view on open another? [React - Native]
I am using this library to implement dropdown option. I have multiple dropdown view in a screen. All are showing nicely but the problem is when one box view is opened I am going to open another dropdown. In that time both boxes are in open…

Exigente05
- 2,161
- 3
- 22
- 42
0
votes
1 answer
Show data from Django Rest Framework into DropDownPicker React Native
I want to show data from Django Rest Framework into DropDownPicker React-Native (https://github.com/hossein-zare/react-native-dropdown-picker) this is my code:
import React, { useState, useEffect } from "react";
import { StyleSheet, View, Text,…