title: Limit number of decimals on input Vuejs
body: <p>I have an input field and I want to limit the number of decimals that a user should type.
  Ex:(10.123), if he type more, no change will be made, the value will stay stuck. Right now the user gets an error, but is not enough.
  PS. I am using Vue-Bootstrap.
  I try <a href="http://jsfiddle.net/ySt7S/288/" rel="nofollow noreferrer">this</a> but limits the whole number not just decimals.</p>
  
  <pre><code>&lt;b-form-input
      type="number"
      id="contract-input"
      v-model="contract"
  &gt;&lt;/b-form-input&gt;
  </code></pre>
  
  <p>On view it works fine.</p>
  
  <pre><code>&lt;p&gt;{{parseFloat(contract).toFixed(2)}}&lt;/p&gt;
  </code></pre>