Skip to content

Commit 6e8b6b7

Browse files
committed
fix: prevent double emit from wrapping components
see vuejs/vue#8436
1 parent 3d7fc2a commit 6e8b6b7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/components/VSelect/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ const wrapper = {
3030
},
3131

3232
render (h, { props, data, slots, parent }) {
33+
delete data.model
3334
const children = rebuildSlots(slots(), h)
3435

3536
if (props.autocomplete) {

src/components/VTextField/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const wrapper = {
1616
},
1717

1818
render (h, { props, data, slots, parent }) {
19+
delete data.model
1920
const children = rebuildSlots(slots(), h)
2021

2122
if (props.textarea) {

0 commit comments

Comments
 (0)