@tagplus/components 2.1.3 → 2.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tp.common.js +1 -1
- package/dist/tp.common.js.map +1 -1
- package/dist/tp.css +1 -1
- package/dist/tp.umd.js +1 -1
- package/dist/tp.umd.js.map +1 -1
- package/dist/tp.umd.min.js +1 -1
- package/dist/tp.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Autosuggest/Autosuggest.vue +7 -0
package/package.json
CHANGED
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
@keydown.native.enter.prevent="selectOption"
|
|
40
40
|
@keydown.native.esc.stop.prevent="visible = false"
|
|
41
41
|
@keydown.native.tab="visible = false"
|
|
42
|
+
@change="handleChange"
|
|
42
43
|
@paste.native="debouncedOnInputChange"
|
|
43
44
|
@mouseenter.native="inputHovering = true"
|
|
44
45
|
@mouseleave.native="inputHovering = false"
|
|
@@ -426,6 +427,12 @@ export default {
|
|
|
426
427
|
},
|
|
427
428
|
|
|
428
429
|
methods: {
|
|
430
|
+
handleChange () {
|
|
431
|
+
if (!this.visible) {
|
|
432
|
+
this.toggleMenu()
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
|
|
429
436
|
handleFocus (event) {
|
|
430
437
|
this.focused = true
|
|
431
438
|
this.$emit('focus', event)
|