Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pass all form values to validate.rules function #116

Open
mixvar opened this issue Feb 17, 2022 · 0 comments
Open

pass all form values to validate.rules function #116

mixvar opened this issue Feb 17, 2022 · 0 comments
Labels
feature request Feature requests from users

Comments

@mixvar
Copy link
Collaborator

mixvar commented Feb 17, 2022

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.

@mixvar mixvar added the feature New feature or improvement of existing feature label Feb 17, 2022
@pidkopajo pidkopajo added feature request Feature requests from users and removed feature New feature or improvement of existing feature labels Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Feature requests from users
Projects
None yet
Development

No branches or pull requests

2 participants