about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/html/dom.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html/dom.nim b/src/html/dom.nim
index 49882b1b..759191a8 100644
--- a/src/html/dom.nim
+++ b/src/html/dom.nim
@@ -282,7 +282,7 @@ type
     parserInserted*: bool
 
   HTMLInputElement* = ref object of FormAssociatedElement
-    inputType*: InputType
+    inputType* {.jsgetset: "type".}: InputType
     value* {.jsget.}: string
     internalChecked {.jsget: "checked".}: bool
     xcoord*: int