Skip to content

pass all form values to validate.rules function #116

@mixvar

Description

@mixvar

current behaviour:

rules function receives values of fields listed in dependencies array, if present

target behaviour

rules function always receives all form values, regardless of dependencies array. dependencies purpose remains to specify other fields which trigger rerun of validation for given fields. This means that user will be able to use fields which do not trigger validation. Documentation and examples will need to be updated accordingly to make this behaviour obvious.

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