We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfee23e commit 675738dCopy full SHA for 675738d
src/components/input/QInput.js
@@ -121,9 +121,7 @@ export default {
121
: 0
122
},
123
computedClearValue () {
124
- return this.isNumber && this.clearValue === 0
125
- ? this.clearValue
126
- : this.clearValue || (this.isNumber ? null : '')
+ return this.clearValue === void 0 ? (this.isNumber ? null : '') : this.clearValue
127
128
computedStep () {
129
return this.step || (this.decimals ? 10 ** -this.decimals : 'any')
0 commit comments