Skip to content

Commit 77cc97b

Browse files
farnabazpi0
authored andcommitted
fix(form-input): always return formatted value (#1839)
1 parent 557591d commit 77cc97b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/components/form-input/form-input.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,7 @@ export default {
133133
methods: {
134134
format (value, e) {
135135
if (this.formatter) {
136-
const formattedValue = this.formatter(value, e)
137-
if (formattedValue !== value) {
138-
return formattedValue
139-
}
136+
return this.formatter(value, e)
140137
}
141138
return value
142139
},

0 commit comments

Comments
 (0)