-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[Form] Deprecate "read_only" option #3782
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 45 commits
d945ba2
8eae36d
805c4bd
1a587c5
653ac94
515e87c
a2395ef
feb621b
f24c84f
3fb0d42
7681e39
5dd50f5
392398b
56fe069
e84182d
c4e07cc
2e86186
b74593c
701f2cf
f0429d7
83636f0
041b2af
643f4c4
c1cbb9a
de9b3d5
25c9705
12d8531
c2b92e1
2d64dd5
7cadcdc
c3fd4f5
68f51df
0c089ec
78bab15
ed88e1c
d6c5d5b
6a9a26a
f78cab7
078bb2d
f2f1ffc
e71355b
897cf60
46fa51f
2409c9d
c475f20
2055bbc
8739ef1
677b6a8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ if the box is unchecked, the value will be set to false. | |
| | - `label`_ | | ||
| | - `label_attr`_ | | ||
| | - `mapped`_ | | ||
| | - `read_only`_ | | ||
| | - `read_only`_ (deprecated as of 2.8) | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same here |
||
| | - `required`_ | | ||
+-------------+------------------------------------------------------------------------+ | ||
| Parent type | :doc:`form </reference/forms/types/form>` | | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ option. | |
| | - `label`_ | | ||
| | - `label_attr`_ | | ||
| | - `mapped`_ | | ||
| | - `read_only`_ | | ||
| | - `read_only`_ (deprecated as of 2.8) | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. and here (actually all tables are broken) |
||
| | - `required`_ | | ||
+-------------+------------------------------------------------------------------------------+ | ||
| Parent type | :doc:`form </reference/forms/types/form>` | | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
.. caution:: | ||
|
||
The ``read_only`` option has been deprecated and will be removed in 3.0. | ||
Instead, use the ``attr`` option by setting it to an array with a ``readonly`` key. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This block should be moved below the headline so that it fits inside the user's view port when the follow anchor refs. |
||
|
||
read_only | ||
~~~~~~~~~ | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line looks wrong (too many spaces).