index.js:1375 Warning: Failed prop type: Invalid prop `value` of type `number` supplied to `Input`, expected `string`.
Full logs:
index.js:1375 Warning: Failed prop type: Invalid prop `value` of type `number` supplied to `InputField`, expected `string`.
in InputField
in Unknown (created by FieldInner)
in FieldInner (created by Context.Consumer)
in FormikConnect(FieldInner) (at EditVenue.tsx:193)
in form
in Unknown (created by Context.Consumer)
in Form (at EditVenue.tsx:189)
in Formik (at EditVenue.tsx:188)
in div (created by ForwardRef)
in ForwardRef (created by Context.Consumer)
in StyledComponent (created by Styled(Component))
in Styled(Component) (created by ForwardRef)
in ForwardRef (created by Context.Consumer)
in StyledComponent (created by styled__Container)
in styled__Container (created by Container)
in Container (at EditVenue.tsx:184)
in div (created by ForwardRef)
in ForwardRef (created by Context.Consumer)
in StyledComponent (created by Styled(Component))
in Styled(Component) (created by ForwardRef)
in ForwardRef (created by HiddenComponent)
in HiddenComponent (created by ForwardRef)
in ForwardRef (created by Context.Consumer)
in StyledComponent (created by Styled(Component))
in Styled(Component) (created by ForwardRef)
in ForwardRef (created by TabsPanelComponent)
in TabsPanelComponent (created by ForwardRef)
in ForwardRef (created by Context.Consumer)
in StyledComponent (created by Styled(Component))
in Styled(Component) (created by ForwardRef)
in ForwardRef (created by Context.Consumer)
in StyledComponent (created by styled__TabPanel)
in styled__TabPanel (created by TabPanel)
in TabPanel (at EditVenue.tsx:182)
in InnerContainer (created by Container)
in Container (created by StepContainer)
in StepContainer (created by TabsContainer)
in TabsContainer (at EditVenue.tsx:90)
in div (at AuthenticatedLayout.tsx:14)
in AuthenticatedLayout (at EditVenue.tsx:89)
in EditVenue (at ProtectedRoute.tsx:25)
in ProtectedRoute (at App.tsx:55)
in div (created by FocusHandlerImpl)
in FocusHandlerImpl (created by Context.Consumer)
in FocusHandler (created by RouterImpl)
in RouterImpl (created by LocationProvider)
in LocationProvider (created by Context.Consumer)
in Location (created by Context.Consumer)
in Router (at App.tsx:49)
in IdProvider (created by Provider)
in Provider (created by Provider)
in ThemeProvider (created by Provider$$1)
in Provider (created by Provider$$1)
in Provider$$1 (created by Provider)
in Provider (at App.tsx:48)
in HelmetProvider (at App.tsx:47)
in ApolloProvider (at App.tsx:46)
in ApolloProvider (at App.tsx:45)
in AppProvider (at App.tsx:44)
in ErrorBoundary (at App.tsx:43)
in App (at src/index.tsx:6)
Switch can be bool as well??
Input type number ?!
eg:
<Field component={InputField.Formik} name="number" type="number" label="Number" />
Full logs: