Skip to content

Commit a08f20b

Browse files
committed
Merge branch 'pedrokermitgoncalves-fix-listeners'
2 parents 3b89594 + ff5c163 commit a08f20b

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/models/StyledComponent.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,7 @@ export default (ComponentStyle) => {
3232
domProps: {
3333
value: this.value
3434
},
35-
on: {
36-
input: (event) => {
37-
if (event.target) {
38-
this.$emit('input', event.target.value)
39-
}
40-
},
41-
click: (event) => {
42-
this.$emit('click', event)
43-
}
44-
},
35+
on: this.$listeners,
4536
scopedSlots: this.$scopedSlots
4637
},
4738
children

0 commit comments

Comments
 (0)