File tree 1 file changed +10
-1
lines changed
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.
9
9
+-------------+------------------------------------------------------------------------+
10
10
| Rendered as | ``input `` ``password `` field |
11
11
+-------------+------------------------------------------------------------------------+
12
- | Options | - `always_empty `_ |
12
+ | Options | - `always_empty `_ (deprecated as of 2.6) |
13
+ | | - `reset_on_submit `_ |
13
14
+-------------+------------------------------------------------------------------------+
14
15
| Inherited | - `max_length `_ (deprecated as of 2.5) |
15
16
| options | - `empty_data `_ |
@@ -34,6 +35,14 @@ Field Options
34
35
always_empty
35
36
~~~~~~~~~~~~
36
37
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
+
37
46
**type **: ``Boolean `` **default **: ``true ``
38
47
39
48
If 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