Skip to content

Commit

Permalink
Update form.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad authored Oct 25, 2024
1 parent 77c06b5 commit 7aa9305
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 7aa9305

Please sign in to comment.