vue-input-formatter
Vue Input Formatter
Demo

Installation
Using npm:
$ npm i vue-input-formatter
Usage
<script setup lang="ts">
import { VueInputFormatter } from "vue-input-formatter";
import { ref } from "vue";
const testModel = ref<number>(0);
function increase() {
testModel.value += 1;
}
</script>
<template>
<VueNumberInput v-model="testModel" />
<div>{{ testModel }}</div>
<div>
<button @click="testModel = 1000">Set to 1000</button>
<button @click="increase">Increase</button>
</div>
</template>
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 2.0.8 | ^3.2.37 | ||
| 2.0.7 | ^3.2.37 | ||
| 2.0.6 | ^3.2.37 | ||
| 2.0.5 | ^3.2.37 | ||
| 2.0.4 | ^3.2.37 | ||
| 2.0.3 | ^3.2.37 | ||
| 2.0.2 | ^3.2.37 | ||
| 2.0.1 | ^3.2.37 | ||
| 2.0.0 | ^3.2.37 |