We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38cfcbc commit c34e693Copy full SHA for c34e693
src/vue-numeric.vue
@@ -312,6 +312,11 @@ export default {
312
this.formatValue(this.value)
313
}
314
315
+ // Set read-only span element's class
316
+ if (this.readOnly) {
317
+ this.$refs.readOnly.className = this.readOnlyClass
318
+ }
319
+
320
// In case of delayed v-model new value.
321
setTimeout(() => {
322
this.processValue(this.formatToNumber(this.value))
0 commit comments