Skip to content
Snippets Groups Projects
Verified Commit 541f6aa0 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

EHN: trigger initialization of select-picker in form_panel

parent 3c47e687
Branches
Tags
2 merge requests!50Release v0.4.1,!46ENH: add a form_panel module that allows to create a panel for web forms
Pipeline #15524 passed
......@@ -74,6 +74,7 @@ var form_panel = new function () {
if (panel.find("form").length === 0) {
const form = form_elements.make_form(form_config);
panel.append(form);
$(form).find(".selectpicker").selectpicker();
form.addEventListener("caosdb.form.cancel",
(e) => form_panel.destroy_form_panel(panel),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment