Ver Fonte

fix input binding test

Falko Schindler há 1 ano atrás
pai
commit
b6480425a9
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      nicegui/elements/input.js

+ 3 - 0
nicegui/elements/input.js

@@ -26,6 +26,9 @@ export default {
     };
   },
   watch: {
+    value(newValue) {
+      this.inputValue = newValue;
+    },
     inputValue(newValue) {
       this.$emit("update:value", newValue);
     },