NativeBase icon indicating copy to clipboard operation
NativeBase copied to clipboard

class SomeFormComponent extends Component { render() { return ( // ....omitted.... <Input onChangeText={value => this.props.myTextAction({ prop: 'value', value })} value={this.props.value} /> ); } //... omitted... } //...omitted export default connect(mapStateToProps, { myTextAction })(SomeFormComponent); Red screen of death throws error: 'undefined is not a function (evaluating 'this2.props.myTextAction({prop:'value', value: value})')

Open omair115 opened this issue 8 years ago • 0 comments

I have gone through these following points

  • [] Check latest documentation: https://docs.nativebase.io/
  • [] Check for existing open/closed issues for a possible duplicate before creating a new issue: https://github.com/GeekyAnts/NativeBase/issues
  • [] Use the latest NativeBase release: https://github.com/GeekyAnts/NativeBase/releases
  • [] Check examples from NativeBase KitchenSink https://github.com/GeekyAnts/NativeBase-KitchenSink
  • [] For discussion purpose make use of NativeBase Slack: http://slack.nativebase.io/
  • [] For queries related to theme, check Theme Variables from Docs and live NativeBase Theme Editor http://nativebase.io/customizer/

Issue Description

node, npm, react-native, react and native-base version, expo version if used

Expected behaviour

Actual behaviour

Steps to reproduce

Is the bug present in both iOS and Android or in any one of them?

Any other additional info which would help us debug the issue quicker.

omair115 avatar Oct 03 '18 14:10 omair115