Steven Silvester пре 7 година
родитељ
комит
706a817668
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1 2
      packages/docregistry/src/context.ts

+ 1 - 2
packages/docregistry/src/context.ts

@@ -556,8 +556,7 @@ namespace Private {
      * Get the value for the widget.
      */
     getValue(): string {
-      let input = this.node.querySelector('input') as HTMLInputElement;
-      return input.value;
+      return (this.node as HTMLInputElement).value;
     }
   }