File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ A submit button.
99+----------------------+----------------------------------------------------------------------+
1010| Rendered as | ``button `` ``submit `` tag |
1111+----------------------+----------------------------------------------------------------------+
12+ | Options | - `validate `_ |
13+ +----------------------+----------------------------------------------------------------------+
1214| Inherited | - `attr `_ |
1315| options | - `attr_translation_parameters `_ |
1416| | - `disabled `_ |
@@ -35,6 +37,21 @@ useful when :doc:`a form has multiple submit buttons </form/multiple_buttons>`::
3537 // ...
3638 }
3739
40+ Options
41+ -------
42+
43+ validate
44+ ~~~~~~~~
45+
46+ **type **: ``boolean `` **default **: ``true ``
47+
48+ .. versionadded :: 4.4
49+
50+ The ``validate `` option was introduced in Symfony 4.4.
51+
52+ Set this option to ``false `` to disable the client-side validation of the form
53+ performed by the browser.
54+
3855Inherited Options
3956-----------------
4057
You can’t perform that action at this time.
0 commit comments