title: Dropdownlist in yii2 fails while adding style properties
body: <p>my form field code is:</p>
  
  <pre><code>&lt;?= $form-&gt;field($model, 'pvfunctioncode')
           -&gt;Dropdownlist(
               [
                   'Functioncode03'=&gt;'Functioncode03',
                   'Functioncode04'=&gt;'Functioncode04'
               ],
               ['style'=&gt;'margin-left:350px; margin-bottom:-77px; width:265px'])
           -&gt;label(
               'PV Function Code',
               [
                   'style'=&gt;'margin-left:350px; width:300px',
                   'title' =&gt; 'Function Code For Process Value ',
                   'data-toggle' =&gt; 'tooltip'
               ],
               ['class' =&gt; 'dropdown']
           ) 
  ?&gt;
  </code></pre>
  
  <p>without style attribute it works perfectly,but with style the dropdown not working it remains selected.
  i need with style attribute.</p>