We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb651c2 commit e4845e5Copy full SHA for e4845e5
1 file changed
projects/bootstrapcomponents/src/bts_basetabpanel.ts
@@ -99,6 +99,10 @@ export class ServoyBootstrapBaseTabPanel<T extends HTMLElement> extends ServoyBo
99
}
100
if (this.isValidTab(tab)) {
101
if (this.isValidTab(this.selectedTab) && tab === this.selectedTab) return;
102
+ if (this.selectedTab && tab && this.selectedTab.containedForm === tab.containedForm && this.selectedTab.relationName === tab.relationName){
103
+ this.selectedTab = tab;
104
+ return; // already selected
105
+ }
106
if (this.selectedTab) {
107
if (this.selectedTab.containedForm && !this.waitingForServerVisibility[this.selectedTab._id]) {
108
const formInWait = this.selectedTab._id;
0 commit comments