diff options
author | bptato <nincsnevem662@gmail.com> | 2024-04-11 19:42:04 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-04-11 19:42:49 +0200 |
commit | 8c3202f9ab838628e5360b6e118150bdc397bf23 (patch) | |
tree | f28d47ee0332f27eca0fcb180285491c01ba07cb | |
parent | 37546bb85efc292703289313c6c87798cd4ab20c (diff) | |
download | chawan-8c3202f9ab838628e5360b6e118150bdc397bf23.tar.gz |
dom: fix missing attribute reflection for <button>
-rw-r--r-- | src/html/dom.nim | 1 |
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 |