Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.2.0
-
None
-
None
Description
If a page switch JS validation on and server side validation off, the Form renders an onsubmit attribute but no handler is rendered. That is because Form checks whether getValidate && isJavaSriptValidation is true before rendering the JS validation. However when rendering the onsubmit attribute, Form only checks is isJavaSriptValidation is true. I think From shouldn't tie client-side and server-side validations together as there are use cases for having one without the other.