Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined is not an object (evaluating 'props.theme.Fieldset.borderBottomColor') #95

Open
GoGaetan opened this issue Jan 25, 2019 · 3 comments

Comments

@GoGaetan
Copy link

GoGaetan commented Jan 25, 2019

I am having this issue and can't fix it.
My config is:
"react-native-clean-form": "^0.5.0",
"react-redux": "^5.0.7",
"react": "16.5.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz",

error got from command line:

TypeError: TypeError: undefined is not an object (evaluating 'props.theme.Fieldset.borderBottomColor')

`This error is located at:
in StyledNativeComponent (created by ForwardRef)
in Fieldset (at FormView.js:39)
in RCTView (at View.js:44)
in StyledNativeComponent (created by ForwardRef)
in RCTScrollContentView (at ScrollView.js:852)
in RCTScrollView (at ScrollView.js:977)
in ScrollView (at Form.js:28)
in RCTView (at View.js:44)
in Form (at FormView.js:37)
in FormView (created by Form(FormView))
in Form(FormView) (created by Connect(Form(FormView)))
in Connect(Form(FormView)) (created by ReduxForm)
in ReduxForm (at DetailsScreen.js:31)
in DetailsScreen (created by SceneView)
in SceneView (at StackViewLayout.js:793)
in RCTView (at View.js:44)
in AnimatedComponent (at StackViewCard.js:69)
in RCTView (at View.js:44)
in AnimatedComponent (at screens.native.js:59)
in Screen (at StackViewCard.js:57)
in Card (at createPointerEventsContainer.js:27)
in Container (at StackViewLayout.js:858)
in RCTView (at View.js:44)
in ScreenContainer (at StackViewLayout.js:311)
in RCTView (at View.js:44)
in AnimatedComponent (at StackViewLayout.js:307)
in Handler (at StackViewLayout.js:300)
in StackViewLayout (at withOrientation.js:30)
in withOrientation (at StackView.js:79)
in RCTView (at View.js:44)
in Transitioner (at StackView.js:22)
in StackView (created by Navigator)
in Navigator (at createKeyboardAwareNavigator.js:12)
in KeyboardAwareNavigator (created by SceneView)
in SceneView (at StackViewLayout.js:793)
in RCTView (at View.js:44)
in AnimatedComponent (at StackViewCard.js:69)
in RCTView (at View.js:44)
in AnimatedComponent (at screens.native.js:59)
in Screen (at StackViewCard.js:57)
in Card (at createPointerEventsContainer.js:27)
in Container (at StackViewLayout.js:858)
in RCTView (at View.js:44)
in ScreenContainer (at StackViewLayout.js:311)
in RCTView (at View.js:44)
in AnimatedComponent (at StackViewLayout.js:307)
in Handler (at StackViewLayout.js:300)
in StackViewLayout (at withOrientation.js:30)
in withOrientation (at StackView.js:79)
in RCTView (at View.js:44)
in Transitioner (at StackView.js:22)
in StackView (created by Navigator)
in Navigator (at createKeyboardAwareNavigator.js:12)
in KeyboardAwareNavigator (at createAppContainer.js:388)
in NavigationContainer (at App.js:55)
in RCTView (at View.js:44)
in Provider (at App.js:52)
in App (at withExpoRoot.js:22)
in RootErrorBoundary (at withExpoRoot.js:21)
in ExpoRootComponent (at renderApplication.js:34)
in RCTView (at View.js:44)
in RCTView (at View.js:44)
in AppContainer (at renderApplication.js:33)

@platonicvizard
Copy link

I'm getting the same error and I'm using

"react-native-clean-form": "^0.5.0", "react": "16.8.3", "react-native": "0.59.2"
without expo

@williams-voon
Copy link

williams-voon commented May 7, 2019

https://github.com/williams-voon/react-native-clean-form
I fixed the bug. I just rename property theme to myTheme.
Check my latest commit for detailed information.

@platonicvizard
Copy link

https://github.com/williams-voon/react-native-clean-form
I fixed the bug. I just rename property theme to myTheme.
Check my latest commit for detailed information.

Thanks. I'm looking forward to seeing this fix release soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants