Skip to content
Snippets Groups Projects
Commit 3b5bf75b authored by florian's avatar florian
Browse files
parent 5d879f65
No related branches found
No related tags found
1 merge request!103Quick main-release of documentation
Pipeline #35170 passed
......@@ -1437,6 +1437,10 @@ var form_elements = new function () {
/**
* Return a select field.
*
* IMPORTANT: The select picker has to be initialized by the client by
* calling ``form_elements.init_select_picker(ret, config.value)`` (see
* below and https://gitlab.com/caosdb/caosdb-webui/-/issues/208).
*
* @param {SelectFieldConfig} config
* @returns {HTMLElement} a select field.
*/
......@@ -1454,7 +1458,7 @@ var form_elements = new function () {
// case when this method is called and is controlled by the client. So
// there is currently no other work-around than to call
// init_select_picker after the form creation explicitely :(
//form_elements.init_select_picker(select[0], config.value);
// form_elements.init_select_picker(ret, config.value);
return ret;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment