We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7234c3e commit 739ede0Copy full SHA for 739ede0
src/VueInputUi/index.vue
@@ -23,6 +23,8 @@
23
:type="type"
24
class="field-input"
25
:disabled="disabled"
26
+ @keydown="keyDown"
27
+ @keyup="keyUp"
28
@focus="onFocus"
29
@blur="onBlur"
30
@click="$emit('click')"
@@ -37,6 +39,8 @@
37
39
:style="[borderStyle]"
38
40
41
class="field-input textarea"
42
43
44
45
46
@@ -160,6 +164,12 @@
160
164
clear () {
161
165
this.$emit('input', null)
162
166
this.$emit('clear')
167
+ },
168
+ keyUp (e) {
169
+ this.$emit('keyup', e)
170
171
+ keyDown (e) {
172
+ this.$emit('keydown', e)
163
173
}
174
175
0 commit comments