Skip to content

danielfttorres/react-native-picker

Repository files navigation

RNPicker

React Native Picker with dynamic support

This repository was created to solve an issue that I will be show below. It's not a component or library for React Native

To solve the issue, please reply that question in Stack Overflow, or create an Issue in this repository with suggestions or with the solution

Problem

I need to make a dynamic Picker. They are 02 Pickers and the second options appear according to the option selected in the first Picker.

In iOS everything works fine, as shown in the gif below. But in Android I got the error Cannot read 'props' of null when I select any Picker at second time.

All code is here: /src/Picker/index.js

Suggestions through issues, pull requests or this question in Stack Overflow are welcome.

iOS

Android

About

React Native Picker with dynamic support

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published