fix MultipleSelect

This commit is contained in:
serzhiio committed 2024-01-16 18:17:53 +04:00
1 parent da308b4cdd
commit 6bc2fb0906
1 file changed
+4
+4
View File
@@ -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