diff options
author | bptato <nincsnevem662@gmail.com> | 2024-01-15 20:48:29 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-02-07 22:21:48 +0100 |
commit | 168bd542d989c76ce3ff09a29b8d77af448c3c12 (patch) | |
tree | e71ccd2bbce8da91caae46edf5df57f157a45d15 /src/xhr | |
parent | 0beb8385d88c20efbd00b7f9e6ac57bf19a109c7 (diff) | |
download | chawan-168bd542d989c76ce3ff09a29b8d77af448c3c12.tar.gz |
Update chame
* Update chame to the latest version * Get rid of nodeType usage * Add atoms * Re-implement DOM attributes * document.write
Diffstat (limited to 'src/xhr')
-rw-r--r-- | src/xhr/formdata.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xhr/formdata.nim b/src/xhr/formdata.nim index e5cc5aa0..7d83d5b2 100644 --- a/src/xhr/formdata.nim +++ b/src/xhr/formdata.nim @@ -137,7 +137,7 @@ proc constructEntryList*(form: HTMLFormElement, submitter: Element = nil, if field.tagType == TAG_SELECT: let field = HTMLSelectElement(field) for option in field.options: - if option.selected or option.disabled: + if option.selected or option.isDisabled: entrylist.add((name, option.value)) elif field.tagType == TAG_INPUT and HTMLInputElement(field).inputType in {INPUT_CHECKBOX, INPUT_RADIO}: let value = if field.attr("value") != "": |