title: How to make a readonly select dropdown?
body: <p>I am trying following to make a dropdown readonly:</p>
  
  <pre><code>$element = $this-&gt;CreateElement('select', 'type');
  $element-&gt;addMultiOptions( $Types );
  $element-&gt;setRequired(true);
  $element-&gt;setAttrib('readonly',true);
  $element-&gt;setLabel('Type');
  $elements[] = $element;
  </code></pre>
  
  <p>A dropdown is shown but I am able to select other values.</p>
  
  <p>How to make a dropdown readonly ?</p>
  
  <p>Thanks</p>