FormInput: remove input and update:modelValue event from $attrs to prevent double emits

This commit is contained in:
cgfhtw
2024-04-12 10:35:31 +02:00
parent e32bf2df57
commit 8705341563
+4 -1
View File
@@ -25,7 +25,10 @@ export default {
type: String,
name: String,
containerClass: [String, Array, Object],
label: String
label: String,
// NOTE(chris): remove these from $attrs array to prevent doubled event listeners
onInput: [Array, Function],
'onUpdate:modelValue': [Array, Function]
},
data() {
return {