Skip to content
This repository was archived by the owner on May 4, 2020. It is now read-only.
This repository was archived by the owner on May 4, 2020. It is now read-only.

Calling this.props.validate on componentDidMount #76

Description

@Mottoweb

I need to invalidate the form on mount. Calling this.props.validate in componentDidMount return an invariant error.

Invariant Violation: Data was not provided to the Validator. Implement "getValidatorData" to return data.

Adding directly to wrapped component looks like terrible thing to me, is there any other way to make this work?

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions