-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
We have ran into an issue with validation triggering and comparing if the form is valid.
FpJsCustomizeMethods.validate({'recursive': true}) (ie: form.jsFormValidator('validate', {'recursive': true}) will always return false since .FpJsFormElement.validateRecursively() (https://github.com/formapro/JsFormValidatorBundle/blob/master/Resources/public/js/fp_js_validator.js#L47) has no return value when executed on:
https://github.com/formapro/JsFormValidatorBundle/blob/master/Resources/public/js/fp_js_validator.js#L244.
I am not sure if this intended behavior or FpJsFormElement.validateRecursively() needs to be patched to return the proper form state.