We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d94c266 commit d5d2dd6Copy full SHA for d5d2dd6
src/components/input/QInput.js
@@ -260,7 +260,7 @@ export default {
260
}),
261
domProps: { value: this.model },
262
on: {
263
- input: e => { this.model = e.target.value },
+ input: this.__set,
264
focus: this.__onFocus,
265
blur: this.__onInputBlur,
266
keydown: this.__onKeydown,
src/mixins/input.js
@@ -61,7 +61,7 @@ export default {
61
})
62
},
63
__onKeydown (e) {
64
- if (e.keyCode === 13) {
+ if (this.type !== 'textarea' && e.keyCode === 13) {
65
this.__emit()
66
}
67
this.$emit('keydown', e)
0 commit comments