title: Setting ID attribute of input field when using ActiveField in Yii2?
body: <p>I'm trying to set a custom <code>id</code> for an <code>input</code> field whilst using <a href="http://www.yiiframework.com/doc-2.0/yii-bootstrap-activefield.html" rel="nofollow">ActiveField</a> in <code>Yii2</code>.</p>
  
  <p>I tried the below, but it instead set the <code>id</code> of the field container instead of the <code>input</code> field itself.</p>
  
  <pre><code>$form-&gt;field($model, 'some_id', ['options' =&gt; ['id' =&gt; 'some_id']])-&gt;hiddenInput(['value' =&gt; $some_id])-&gt;label(false);
  </code></pre>
  
  <p>Is there a way I can set the <code>id</code> attribute of the input field itself?</p>
  
  <p>I noticed the <a href="http://www.yiiframework.com/doc-2.0/yii-widgets-activefield.html#$inputOptions-detail" rel="nofollow">inputOptions</a> option, but this seems to control the setting for all the fields, so unsure how it works exactly with the selectors etc.</p>