pankeshpatel / mDiabetes

This is mDiabetes repository
1 stars 2 forks source link

ERROR Warning: Failed prop type: Invalid prop `value` of type `number` supplied to `ForwardRef(TextInput)`, expected `string` #2

Closed pankeshpatel closed 2 years ago

pankeshpatel commented 2 years ago
ERROR  Warning: Failed prop type: Invalid prop `value` of type `number` supplied to `ForwardRef(TextInput)`, expected `string`.
TextInput@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.mDiabetes:82596:38
    in TextInputOutlined (at TextInput.tsx:454)
    in TextInput
    in ThemedComponent (created by withTheme(TextInput))
    in withTheme(TextInput) (at LogFood.js:371)
    in RCTView (at View.js:32)
    in View (at LogFood.js:360)
    in RCTScrollContentView (at ScrollView.js:1675)
    in RCTScrollView (at ScrollView.js:1793)
    in ScrollView (at ScrollView.js:1819)
    in ScrollView (at LogFood.js:357)
    in LogFood (at SceneView.tsx:126)
    in StaticContainer
    in EnsureSingleNavigator (at SceneView.tsx:118)
    in SceneView (at useDescriptors.tsx:210)
    in RCTView (at View.js:32)
    in View (at DebugContainer.native.tsx:27)
    in DebugContainer (at NativeStackView.native.tsx:75)
    in MaybeNestedStack (at NativeStackView.native.tsx:246)
    in RNSScreen (at createAnimatedComponent.js:211)
    in AnimatedComponent (at createAnimatedComponent.js:264)
    in AnimatedComponentWrapper (at src/index.native.tsx:252)
    in MaybeFreeze (at src/index.native.tsx:251)
    in Screen (at NativeStackView.native.tsx:179)
    in SceneView (at NativeStackView.native.tsx:296)
    in RNSScreenStack (at src/index.native.tsx:191)
    in ScreenStack (at NativeStackView.native.tsx:287)
    in NativeStackViewInner (at NativeStackView.native.tsx:341)
    in RNCSafeAreaProvider (at SafeAreaContext.tsx:76)
    in SafeAreaProvider (at SafeAreaProviderCompat.tsx:46)
    in SafeAreaProviderCompat (at NativeStackView.native.tsx:340)
    in NativeStackView (at createNativeStackNavigator.tsx:69)
    in Unknown (at createNativeStackNavigator.tsx:68)
    in NativeStackNavigator (at App.js:26)
    in EnsureSingleNavigator (at BaseNavigationContainer.tsx:430)
    in BaseNavigationContainer (at NavigationContainer.tsx:132)
    in ThemeProvider (at NavigationContainer.tsx:131)
    in NavigationContainerInner (at App.js:25)
    in App (at mDiabetes/index.js:19)
    in ThemeProvider (at Provider.tsx:83)
    in RCTView (at View.js:32)
    in View (at PortalHost.tsx:125)
    in Portal.Host (at Provider.tsx:81)
    in Provider (at mDiabetes/index.js:10)
    in WrappedApp (at renderApplication.js:50)
    in RCTView (at View.js:32)
    in View (at AppContainer.js:92)
    in RCTView (at View.js:32)
    in View (at AppContainer.js:119)
    in AppContainer (at renderApplication.js:43)
    in mDiabetes(RootComponent) (at renderApplication.js:60)