Skip to content

Commit a0165f9

Browse files
committed
bug #6448 [Form] fixed CollectionType needless option (HeahDude)
This PR was merged into the 2.3 branch. Discussion ---------- [Form] fixed CollectionType needless option | Q | A | |----|----| | Branch | 2.3+ | | Doc fix | yes | Define the `required` option in `(entry_)options` is useless as it is overridden by the collection option. Commits ------- 4de2ad9 [Form] fixed CollectionType needless option
2 parents d79699d + 4de2ad9 commit a0165f9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

reference/forms/types/collection.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ address as its own input text box::
5656
'type' => 'email',
5757
// these options are passed to each "email" type
5858
'options' => array(
59-
'required' => false,
60-
'attr' => array('class' => 'email-box')
59+
'attr' => array('class' => 'email-box')
6160
),
6261
));
6362

0 commit comments

Comments
 (0)