Skip to content

Resetting a multi-step form causes an error #382

@drpayyne

Description

@drpayyne

Describe the bug
Trying to reset a multi-step form causes the error - Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function. asField/forwardRef<@webpack-internal:///./node_modules/informed/dist/esm/index.js:2097:29

To Reproduce

https://codesandbox.io/embed/informed-multistep-reset-weeyx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions