Skip to content

Commit

Permalink
fix event type in index.html (fixes #2192)
Browse files Browse the repository at this point in the history
  • Loading branch information
falkoschindler committed Dec 17, 2023
1 parent 2a85b4e commit 304fd81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nicegui/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
};
const emitter = () => window.socket?.emit("event", data);
throttle(emitter, event.throttle, event.leading_events, event.trailing_events, event.listener_id);
if (element.props["loopback"] === False && event.type == "update:model-value") {
if (element.props["loopback"] === False && event.type == "update:modelValue") {
element.props["model-value"] = args;
}
};
Expand Down

0 comments on commit 304fd81

Please sign in to comment.