Multi select label option missing?


I was wondering if the label field is not working for select pickers?

$this->Form->select(‘data’, $options, [‘label’ => ‘name’,‘multiple’ => ‘multiple’ ]);

The label is not showing up. It does show up for regular select fields just not the multiple select picker…

cakephp 3.9


<?= $this->Form->control('data', ['options' => $options, 'label' => 'name', 'multiple' => true]); ?>

Thanks, that works. With the control instead of the select.