Sfoglia il codice sorgente

fix event type in index.html (fixes #2192)

Falko Schindler 1 anno fa
parent
commit
304fd8131b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      nicegui/templates/index.html

+ 1 - 1
nicegui/templates/index.html

@@ -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;
             }
           };