Skip to content

Commit 449cc7e

Browse files
iamzjohnisneezy
authored andcommitted
fix input length with larges texts (#17)
fixes #15
1 parent 92abc5c commit 449cc7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/VSelectize.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ export default {
337337
this.$el.appendChild(this.canvas)
338338
}
339339
// noinspection JSValidateTypes
340-
this.canvas.innerText = (this.placeholder || this.searchText)
340+
this.canvas.innerText = (this.searchText || this.placeholder)
341341
this.inputWidth = this.canvas.clientWidth + 4
342342
if (this.$el) {
343343
this.$el.removeChild(this.canvas)

0 commit comments

Comments
 (0)