diff --git a/lib/proto/attach-form.js b/lib/proto/attach-form.js index 0bfec63..39333a2 100644 --- a/lib/proto/attach-form.js +++ b/lib/proto/attach-form.js @@ -67,7 +67,7 @@ function parseFormElements(el) { for (var i = 0; i < element.options.length; i++) { opt = element.options[i] - if (opt.selected) { + if (opt.selected && !opt.disabled) { values.push(opt.hasAttribute("value") ? opt.value : opt.text) } }