Skip to content

Commit 9d55c26

Browse files
committed
fix: distpatchEvents if innerHtml
1 parent 2d7728b commit 9d55c26

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/setValue.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,10 @@ const setValue = (el, value, dispatch) => {
132132
if (el.hasAttribute("value")) {
133133
el.setAttribute("value", value);
134134
}
135+
136+
137+
dispatchEvents(el, dispatch);
138+
135139
}
136140

137141
if (el.getAttribute('contenteditable'))

0 commit comments

Comments
 (0)