Skip to content
This repository has been archived by the owner on Mar 10, 2023. It is now read-only.

Commit

Permalink
Fix buefy#1963 erase number-input value
Browse files Browse the repository at this point in the history
  • Loading branch information
jtommy authored and LeoMouyna committed Jan 6, 2020
1 parent 0f4d658 commit 94c8d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/numberinput/Numberinput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export default {
set(value) {
let newValue = value
if (value === '') {
newValue = parseFloat(this.min) || 0
newValue = parseFloat(this.min) || null
}
this.newValue = newValue
this.$emit('input', newValue)
Expand Down

0 comments on commit 94c8d50

Please sign in to comment.