title: Bootstrap input-group-addon durandal knockout validation
body: <p>I've got a field to validate and knockout handles the validation of this element.
  Next I've got an input-group-addon which is getting out of bounds when the validation of knockout kicks in. I've been trying to look for a fix but I cannot find another that solves this.</p>
  
  <p>The issue:</p>
  
  <p><img src="https://i.stack.imgur.com/aTPXR.gif" alt="The issue"></p>
  
  <p>The code itself is pretty straightforward to be honest:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="form-group" data-bind="validationElement: emailRepeated"&gt;
    &lt;label for="emailRepeated" data-bind="text: translate('EmailConfirm')"&gt;[Confirm your Email Address]&lt;/label&gt;
    &lt;div class="input-group"&gt;
          &lt;span class="input-group-addon"&gt;@&lt;/span&gt;
          &lt;input type="email" class="form-control" id="emailRepeated" data-bind="value: emailRepeated" &gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>My knockout just has the extender like so:</p>
  
  <pre><code>self.emailRepeated.extend({ required: true, email: true, equal: self.email });
  </code></pre>
  
  <p>Anyone got any idea how I can keep the input addon to stay together with the input?</p>
  
  <p><strong>EDIT:</strong>
  Result HTML after validation:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="input-group"&gt;
       &lt;span class="input-group-addon"&gt;@&lt;/span&gt;
       &lt;input type="email" class="form-control has-error" id="emailRepeated" data-bind="value: emailRepeated" title="This is not a proper email address" data-orig-title=""&gt;
  
       &lt;span class="help-block" style=""&gt;This is not a proper email address&lt;/span&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>