title: Dynamic input modifiers in Vue
body: <p>So I have an input like so:</p>
  
  <pre><code>&lt;input type="number" :value="key" @input.number="setValue" /&gt;
  </code></pre>
  
  <p>I would like for the <code>.number</code> input modifier to be dynamic and linked to a variable, such that I can change it based on the <code>input type</code> (which in my instance can be either <code>number</code> or <code>text</code>). </p>