Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd945ba2

Browse files
committed
[Form]Fix#9325
1 parentcedfdce commitd945ba2

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

‎reference/forms/types/password.rst‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff 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
3435
always_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

3948
If set to true, the field will *always* render blank, even if the corresponding

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp