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.
current behaviour:
rulesfunction receives values of fields listed independenciesarray, if presenttarget behaviour
rulesfunction always receives all form values, regardless ofdependenciesarray.dependenciespurpose 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.