diff --git a/src/components/input-number/input-number.vue b/src/components/input-number/input-number.vue index 137289d..7eb24c6 100644 --- a/src/components/input-number/input-number.vue +++ b/src/components/input-number/input-number.vue @@ -30,7 +30,8 @@ @change="change" :readonly="readonly || !editable" :name="name" - :value="formatterValue"> + :value="formatterValue" + :placeholder="placeholder"> @@ -120,7 +121,11 @@ }, parser: { type: Function - } + }, + placeholder: { + type: String, + default: '' + }, }, data () { return { -- libgit2 0.21.4