You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning: Cannot update during an existing state transition (such as within render). Render methods should be a pure function of props and state.
in ForwardRef(Field) (created by ScheduleStopTimeField)
in ScheduleStopTimeField (created by ScheduleFormFields)
in div (created by StackItem)
in StackItem (created by InternalFormLabel)
in div (created by Stack)
in Stack (created by InternalFormLabel)
in div (created by StackItem)
in StackItem (created by InternalFormLabel)
in div (created by Stack)
in Stack (created by InternalFormLabel)
in InternalFormLabel (created by RealFormLabel)
in RealFormLabel (created by RealFormLabel)
in ErrorBoundary (created by RealFormLabel)
in RealFormLabel (created by ScheduleFormFields)
in div (created by StackItem)
in StackItem (created by ScheduleFormFields)
in div (created by Stack)
in Stack (created by ScheduleFormFields)
in ScheduleFormFields (created by ReactFinalForm)
in div (created by Stack)
in Stack (created by ReactFinalForm)
in ReactFinalForm (created by CreateOrUpdatePoolForm)
in CreateOrUpdatePoolForm (created by UpdatePoolBladeInjected)
in UpdatePoolBladeInjected (created by ConnectFunction)
in ConnectFunction (created by UpdatePoolReactView)
in Provider (created by UpdatePoolReactView)
in ErrorBoundary (created by UpdatePoolReactView)
in UpdatePoolReactView
in Customizer (created by ThemedFabric)
in div (created by ThemeProvider)
in ThemeProvider (created by ThemedFabric)
in ThemedFabric
The text was updated successfully, but these errors were encountered:
Bug report
What is the current behavior?
I have a field of type string, and when I add any validate method this is the warning message that shows up in console:
Warning: Cannot update during an existing state transition (such as within
render
). Render methods should be a pure function of props and state.This occurs in the ForwardRef(Field). Full stacktrace shown below.
What is the expected behavior?
No console warning.
Sandbox Link
Not able to reproduce this.
What's your environment?
final-form: 4.20.7, Typescript, React application.
Other information
Warning: Cannot update during an existing state transition (such as within
render
). Render methods should be a pure function of props and state.in ForwardRef(Field) (created by ScheduleStopTimeField)
in ScheduleStopTimeField (created by ScheduleFormFields)
in div (created by StackItem)
in StackItem (created by InternalFormLabel)
in div (created by Stack)
in Stack (created by InternalFormLabel)
in div (created by StackItem)
in StackItem (created by InternalFormLabel)
in div (created by Stack)
in Stack (created by InternalFormLabel)
in InternalFormLabel (created by RealFormLabel)
in RealFormLabel (created by RealFormLabel)
in ErrorBoundary (created by RealFormLabel)
in RealFormLabel (created by ScheduleFormFields)
in div (created by StackItem)
in StackItem (created by ScheduleFormFields)
in div (created by Stack)
in Stack (created by ScheduleFormFields)
in ScheduleFormFields (created by ReactFinalForm)
in div (created by Stack)
in Stack (created by ReactFinalForm)
in ReactFinalForm (created by CreateOrUpdatePoolForm)
in CreateOrUpdatePoolForm (created by UpdatePoolBladeInjected)
in UpdatePoolBladeInjected (created by ConnectFunction)
in ConnectFunction (created by UpdatePoolReactView)
in Provider (created by UpdatePoolReactView)
in ErrorBoundary (created by UpdatePoolReactView)
in UpdatePoolReactView
in Customizer (created by ThemedFabric)
in div (created by ThemeProvider)
in ThemeProvider (created by ThemedFabric)
in ThemedFabric
The text was updated successfully, but these errors were encountered: