vue js input only allow numbers code example
Example: number only input vue
<div id="demo">
<input v-model="message" @keypress="isNumber($event)">
</div>
<div id="demo">
<input v-model="message" @keypress="isNumber($event)">
</div>