@fy-/fws-vue 0.3.44 → 0.3.46
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.
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
ref="textInput"
|
|
32
32
|
@input="handleInput"
|
|
33
33
|
@paste.prevent="handlePaste"
|
|
34
|
-
@keydown.delete="removeLastTag"
|
|
35
34
|
placeholder="Add a tag..."
|
|
36
35
|
></div>
|
|
37
36
|
</div>
|
|
@@ -127,13 +126,6 @@ const handlePaste = (e: any) => {
|
|
|
127
126
|
e.preventDefault();
|
|
128
127
|
addTag();
|
|
129
128
|
};
|
|
130
|
-
const handleKeydown = (event: KeyboardEvent) => {
|
|
131
|
-
if (!textInput.value) return;
|
|
132
|
-
|
|
133
|
-
if (event.key === "Backspace" && textInput.value.innerText) {
|
|
134
|
-
textInput.value.innerText = textInput.value.innerText.slice(0, -1);
|
|
135
|
-
}
|
|
136
|
-
};
|
|
137
129
|
</script>
|
|
138
130
|
|
|
139
131
|
<style scoped>
|