ReactNativeDropdownAndroid icon indicating copy to clipboard operation
ReactNativeDropdownAndroid copied to clipboard

reactNative module getting crash after selecting the value in dropDown

Open shaikhussian opened this issue 9 years ago • 2 comments

Hai i tried like this:

export default class sidemenu extends Component {
  render() {
    return (
     <Dropdown
        style={{ height: 20, width: 200}}
        values={[ '--Choose--', 'one', 2, 3.5, { four: 4 }, [ 5, 6, 7 ], false ]}
        selected={1} onChange={(data) => { console.log(data); }} />
    );
  }
    
}

after selecting the value in dropDown app getting crashes in android please give me suggestions that how to resolve it react-native version:0.35.0 react-native-dropdown-android: 0.0.12

shaikhussian avatar Dec 08 '16 12:12 shaikhussian

please respond

shaikhussian avatar Dec 09 '16 05:12 shaikhussian

To solve this problem, I made PR. This problem from native "Event<DropdownEvent>" module changing.

heartjigi avatar Dec 09 '16 18:12 heartjigi