title: Disable Prompt Option Dropdownlist in Yii2
body: <p>I would like to disable the first option from a dropdownlist using yii2 framework. The first option is the prompt one.</p>
  
  <pre><code>&lt;?php echo $form-&gt;field($kind, 'cod_kind')
                  -&gt;label($kind-&gt;attributeLabels()  ['cod_kind'] . " (*)")
                  -&gt;dropDownList($kind, ['prompt' =&gt; 'Select', 'id' =&gt; 'cod_kind']);
  </code></pre>
  
  <p>Already tried to do something like this but it did not work, got error exception:</p>
  
  <pre><code>-&gt;dropDownList($kind, ['prompt' =&gt; ['label' =&gt; 'Select', 'disabled' =&gt; true], 'id' =&gt; 'cod_kind']);
  </code></pre>
  
  <p>My question is different from <a href="https://stackoverflow.com/questions/31720718/">this question</a> because I don't want to disable an available option. I want to disable the prompt option, the option that has the label 'Select'. One more time, already tried the solution of that question with the prompt option and it gave me an error exception.</p>