Skip to content

validation behaviour on blur #41

@Vaevictus

Description

@Vaevictus

Is there a way I can change the validation behavior? It seems to affect the demo page too.
If I load a form, I can immediately save it without actually firing any validation. I also want to validation errors to immediately load (the red ones) when I initialize it. Only after entering some data then removing it with backspace will show the "this field is required" error for example.

Additionally, and I think this is a more generic question with regards to react, but still related:

if I have

<mycontainer >

<SchemaForm />

<MySubmitButton />

</mycontainer>

How can I make the mysubmitbutton check the validity of the form prior to allowing the submit, or even bind the enablement status of the button to the validity status of the form?

thanks

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