Quantcast
Channel: react-native fill the picker by mapping - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by Tobias Lins for react-native fill the picker by mapping

You should use the Item from the Picker component to get this work. There are two possible ways to do it. const PickerItem = Picker.Item; and than using this <PickerItem> component later on. Or...

View Article


Image may be NSFW.
Clik here to view.

react-native fill the picker by mapping

on my RN project, I'm trying to fill my Picker by mapping from the state, which is an array. I consoled the object during mapping and it seems there isn't any problem, it shows the object that is...

View Article


Answer by Jorge J V. L for react-native fill the picker by mapping

You should use ..!import React, { useState, useEffect } from 'react';import { StyleSheet, View} from 'react-native';import axios from 'axios'import { Picker } from '@react-native-picker/picker';export...

View Article
Browsing latest articles
Browse All 3 View Live


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