title: How to limit digit number in vue input?
body: <p>My goal is to limit the number of digit user can enter in the input field. So a user can only input 10 digits. I tried min and max still doesn't work</p>
  
  <p>Here's the code</p>
  
  <pre><code>        &lt;input
            v-model="amount"
            type="number"
          &gt;
  
  
          &lt;script&gt;
               export default {
                    data() {
                        return { 
                            amount: 7800
                        }
                     }
  
                }
  
          &lt;/script&gt;
  </code></pre>
  
  <p>Right now i can add more than 10 digits</p>