Skip to content

Commit

Permalink
Add titles to spinner buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
tylertrotter committed Jun 26, 2020
1 parent 77fc254 commit 7c1b3c1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/input-number/src/input-number.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<span
class="el-input-number__decrease"
role="button"
:title="buttonWords.decrease"
v-if="controls"
v-repeat-click="decrease"
:class="{'is-disabled': minDisabled}"
Expand All @@ -20,6 +21,7 @@
<span
class="el-input-number__increase"
role="button"
:title="buttonWords.increase"
v-if="controls"
v-repeat-click="increase"
:class="{'is-disabled': maxDisabled}"
Expand All @@ -28,7 +30,7 @@
</span>
<el-input
ref="input"
:id="id"
:id="id"
:value="displayValue"
:placeholder="placeholder"
:disabled="inputNumberDisabled"
Expand Down Expand Up @@ -73,6 +75,10 @@
type: String,
default: null
},
buttonWords: {
type: Object,
default: null
},
step: {
type: Number,
default: 1
Expand Down

0 comments on commit 7c1b3c1

Please sign in to comment.