fix MultipleSelect
This commit is contained in:
1 parent
da308b4cdd
commit
6bc2fb0906
1 file changed
+4
@@ -426,6 +426,10 @@ impl HasFormData for WebFormData {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else if let Some(select) = self.element.dyn_ref::<web_sys::HtmlSelectElement>() {
|
||||||
|
// try to fill in select element values
|
||||||
|
let options = get_select_data(select);
|
||||||
|
values.insert("options".to_string(), FormValue::VecText(options));
|
||||||
}
|
}
|
||||||
|
|
||||||
values
|
values
|
||||||
|
|||||||
Reference in new issue
Block a user