From 03ccb6b49a875931f59b6595e86785c073b35eac Mon Sep 17 00:00:00 2001 From: phgrund Date: Mon, 10 Aug 2020 16:24:20 -0300 Subject: [PATCH] add disabled prop to money input component --- src/component.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/component.vue b/src/component.vue index cfb5cbc..69d0c07 100644 --- a/src/component.vue +++ b/src/component.vue @@ -3,6 +3,7 @@ :value="formattedValue" @change="change" v-money="{precision, decimal, thousands, prefix, suffix}" + :disabled="disabled" class="v-money" /> @@ -42,6 +43,10 @@ export default { suffix: { type: String, default: () => defaults.suffix + }, + disabled: { + type: Boolean, + default: false } },