10000 Update form-text.js · bootstrap-vue/bootstrap-vue@b100f71 · GitHub
[go: up one dir, main page]

Skip to content

Commit b100f71

Browse files
committed
Update form-text.js
fix(b-form-input): fixes broken input when formatter prop is null
1 parent 5bb8af5 commit b100f71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mixins/form-text.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export default {
100100
return mathMax(toInteger(this.debounce, 0), 0)
101101
},
102102
hasFormatter() {
103-
return this.formatter.name !== props.formatter.default.name
103+
return this.formatter ? this.formatter.name !== props.formatter.default.name : false
104104
}
105105
},
106106
watch: {

0 commit comments

Comments
 (0)
0