Skip to content

Form doesn't call "onError" when component was mounted with invalid form data according to schema  #897

@zarendar

Description

@zarendar

Description

I want to be able to get error list if validation wasn't passed when Form component was mounted.

Steps to Reproduce

  1. I've set valid "schema"
  2. I've set invalid formData according to "schema"
  3. I've set "liveValidate" to True
  4. I've mounted component to DOM

Expected behavior

The component should call "onError" with errors list

Actual behavior

The component wasn't called "onError" with errors list

Version

"^1.0.1"

P.s. Can you make me as a contributor and I will push Pull request with fix this problem ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions