Issue #3291764 by Gauravvvv, baldwinlouie, Utkarsh_33, kostyashupenko, ranjith_kumar_k_u, eugene.brit, Farnoosh, rhiss, smustgrave, podarok, mkdok, bnjmnm, candelas, saganakat: The [0] hatch in misc/vertical-tabs.js causes issues if there are multiple forms with vertical tabs
(cherry picked from commit 8c9ff22228ec81b805bb4fdf83e78b378e008960)merge-requests/8604/head
parent
b8241d8c6d
commit
cee1be2bee
|
@ -196,8 +196,11 @@
|
||||||
})
|
})
|
||||||
.end()
|
.end()
|
||||||
.show()
|
.show()
|
||||||
.siblings(':hidden.vertical-tabs__active-tab')[0].value =
|
.siblings(':hidden.vertical-tabs__active-tab')
|
||||||
this.details.attr('id');
|
.get()
|
||||||
|
.forEach((hidden) => {
|
||||||
|
hidden.value = this.details.attr('id');
|
||||||
|
});
|
||||||
this.details.attr('open', true);
|
this.details.attr('open', true);
|
||||||
this.item.addClass('is-selected');
|
this.item.addClass('is-selected');
|
||||||
// Mark the active tab for screen readers.
|
// Mark the active tab for screen readers.
|
||||||
|
|
Loading…
Reference in New Issue