diff options
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") != "": |