File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ The ``password`` field renders an input password text box.
99+-------------+------------------------------------------------------------------------+
1010| Rendered as | ``input `` ``password `` field |
1111+-------------+------------------------------------------------------------------------+
12- | Options | - `always_empty `_ |
12+ | Options | - `always_empty `_ (deprecated as of 2.6) |
13+ | | - `reset_on_submit `_ |
1314+-------------+------------------------------------------------------------------------+
1415| Inherited | - `max_length `_ (deprecated as of 2.5) |
1516| options | - `empty_data `_ |
@@ -34,6 +35,14 @@ Field Options
3435always_empty
3536~~~~~~~~~~~~
3637
38+ .. caution ::
39+
40+ The ``_always_empty `` option has been deprecated and will be removed in 3.0.
41+ Instead, use the ``reset_on_submit `` option.
42+
43+ reset_on_submit
44+ ~~~~~~~~~~~~
45+
3746**type **: ``Boolean `` **default **: ``true ``
3847
3948If set to true, the field will *always * render blank, even if the corresponding
You can’t perform that action at this time.
0 commit comments