Skip to content

Calling SuperForm.getAllErors() first time through a form does not trigger an error even though they have validation rules that are not met on certain elements #9

@CodeLiftSleep

Description

@CodeLiftSleep

However, if you go back to the form a second time(and all subsequent times) and re-validate the form, then it gets caught. The form status is INVALID both times. Tthe Superform.getAllErrors method returns no errors the first time, but returns the proper errors on the second time and all subsequent times through it(if you go back to the form).

I am unsure of why this is happening only that it does happen and it is very reproducible. The one example I am seeing is on a drop-down element that has no value selected, but I am not sure if it is limited to that element or not.

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