Browse Source

fix input binding test

Falko Schindler 1 year ago
parent
commit
b6480425a9
1 changed files with 3 additions and 0 deletions
  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);
     },