about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/html/dom.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/html/dom.nim b/src/html/dom.nim
index 5bab4e9c..aef709e9 100644
--- a/src/html/dom.nim
+++ b/src/html/dom.nim
@@ -2901,6 +2901,7 @@ proc reflectAttrs(element: Element, name: CAtom, value: string) =
     option.reflect_bool satSelected, selected
   of TAG_BUTTON:
     let button = HTMLButtonElement(element)
+    button.reflect_str satValue, value
     button.reflect_str satType, ctype, (func(s: string): ButtonType =
       case s.toLowerAscii()
       of "submit": return BUTTON_SUBMIT