Cannot switch off validation while javaScriptValidation is switched on
----------------------------------------------------------------------
Key: CLK-730
URL: https://issues.apache.org/jira/browse/CLK-730
Project: Click
Issue Type: Bug
Affects Versions: 2.2.0
Reporter: Bob Schellink
Assignee: Bob Schellink
Fix For: 2.3.0-M1
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|