CakePHP3.1: disable options in a select input
<p>I want to disable options in a select input so I tried:</p>

<pre><code>echo $this-&gt;Form-&gt;select("status", 
    [
    'options' =&gt; $status, 
    'value' =&gt; $order-&gt;status, 
    'label' =&gt; false, 
    'disabled' =&gt; [1, 2]
    ]);
</code></pre>

<p>But it doesn't generate any <code>disabled</code> statement in html code.</p>

<p>What's my mistake?</p>