We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d90b1b commit 70ab2feCopy full SHA for 70ab2fe
reference/forms/types/choice.rst
@@ -107,7 +107,7 @@ method::
107
},
108
'group_by' => function($category, $key, $index) {
109
// randomly assign things into 2 groups
110
- return rand(0, 1) == 1 ? 'Group A' : 'Group B'
+ return rand(0, 1) == 1 ? 'Group A' : 'Group B';
111
112
'preferred_choices' => function($category, $key, $index) {
113
return $category->getName() == 'Cat2' || $category->getName() == 'Cat3';
0 commit comments