Skip to content

Commit 4f7c6ce

Browse files
minor symfony#18772 Update UPGRADE FROM 2.x to 3.0 (bradbyu)
This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes symfony#18772). Discussion ---------- Update UPGRADE FROM 2.x to 3.0 | Q | A | ------------- | --- | Branch? | "master" | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | deprecated in 2.7 removed in 3.0 | Tests pass? | yes | Fixed tickets | none | License | MIT | Doc PR | http://symfony.com/doc/2.8/reference/forms/types/text.html for starters You missed the Form max_length option deprecation in several field types (Text, Password, Email, etc...). Commits ------- cd66a45 Update UPGRADE FROM 2.x to 3.0
2 parents 2731787 + cd66a45 commit 4f7c6ce

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

UPGRADE-3.0.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,10 @@ UPGRADE FROM 2.x to 3.0
132132

133133
### Form
134134

135-
* The `ChoiceToBooleanArrayTransformer`, `ChoicesToBooleanArrayTransformer`,
135+
* The `max_length` option was removed. Use the `attr` option instead by setting it to
136+
an `array` with a `maxlength` key.
137+
138+
* The `ChoiceToBooleanArrayTransformer`, `ChoicesToBooleanArrayTransformer`,
136139
`FixRadioInputListener`, and `FixCheckboxInputListener` classes were removed.
137140

138141
* The `choice_list` option of `ChoiceType` was removed.

0 commit comments

Comments
 (0)