Skip to content

Commit

Permalink
Merge pull request #7938 from cakephp/ADmad-patch-1
Browse files Browse the repository at this point in the history
Update form.rst
  • Loading branch information
markstory authored Oct 25, 2024
2 parents 77c06b5 + 7aa9305 commit 387685f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/views/helpers/form.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2444,7 +2444,7 @@ a multiple select input for belongs to many associations::
echo $this->Form->control('tags._ids', [
'type' => 'select',
'multiple' => true,
'options' => $tagList,
'options' => $tags, // $tags is the output of $this->Articles->Tags->find('list')->all() in the controller
]);


Expand Down

0 comments on commit 387685f

Please sign in to comment.