Custom form configuration #268

Merged
tobru merged 34 commits from 165-form-configuration into main 2025-11-10 14:49:33 +00:00
Showing only changes of commit 9ac9f5e1c9 - Show all commits

View file

@ -3,15 +3,22 @@
(function() {
'use strict';
console.log("Loading bootstrap tab setup")
const initBootstrapTabs = () => {
console.log("setting up bootstrap tabs")
const customTabList = document.querySelectorAll('#myTab button[data-bs-toggle="tab"]');
console.log("found custom tabs", customTabList)
customTabList.forEach(function(tabButton) {
new bootstrap.Tab(tabButton);
console.log("setting up custom tab", tabButton)
});
const expertTabList = document.querySelectorAll('#expertTab button[data-bs-toggle="tab"]');
console.log("found expert tabs", expertTabList)
expertTabList.forEach(function(tabButton) {
new bootstrap.Tab(tabButton);
console.log("setting up expert tab", tabButton)
});
}