Hi @sirishap9577191 ,
Please check if this works for you. I have tried to hide a second tab based on the dropdown selection. In dropdown selection node I have added granite:id - dropdown-selection property, and in tabs node i have added granite:class - dropdown-tab-container
(function ($, document, ns) {
$(document).on("dialog-ready", function() {
function showHideTab() {
var dropdownSelection = $("#dropdown-selection").val();
var coralTab = $(".dropdown-tab-container coral-tablist coral-tab");
if (dropdownSelection === "default") {
coralTab.eq(2).hide();
} else {
coralTab.eq(2).show();
}
}
$("#dropdown-selection").on("change", showHideTab);
showHideTab();
});
})(Granite.$, document, Granite.author);