Checkbox field has no visible checked state in Layout type Grid

Issue #5 closed
Former user created an issue

I think there are a bug with checkbox field on layout type grid form.

My current code is :

<?= $this->Form->create($menu, [
        'type' => 'post',
        'url' => ['controller' => 'menus', 'action' => 'edit', $menu->id],
        'layout' => ['type' => 'grid']
    ]) ?>
<?= $this->Form->control('nom') ?>
<?= $this->Form->control('hook') ?>
<?= $this->Form->control('active') ?>
<?= $this->Form->button($this->Icon->i('save',''), ['class' => 'btn-success pull-right']); ?>   
<?= $this->Form->end(); ?>

And the checkbox field "active" (look attachment figure 1) has no visible checked state. When i click on the label, the square's style has no changing.

If i switch to layout type block or inline for form parameter, the bug is not present.

PS : I use last version 4.0.0.4001

Comments (3)

  1. Log in to comment