🇮🇳India @srilakshmier

Bengaluru
Account created on 17 July 2016, over 8 years ago
#

Recent comments

🇮🇳India srilakshmier Bengaluru

Hi @Gkomi,

It looks like the functionalities are working as expected, but this is a special requirement. There is no configuration available to make the first tab to be contacted on load. However you can achieve this via jQuery by using the following statements in any of the js file that loads on the desired pages.

jQuery(document).ready(function() {
// To disable the expanded tab
jQuery("#blocktabs-first-1").css({ display: "none" });
jQuery("[aria-controls='blocktabs-first-1']").removeClass("ui-tabs-active ui-state-active");
// Upon click expand the first tab.
jQuery("[aria-controls='blocktabs-first-1']").click(function () {
jQuery("[aria-controls='blocktabs-first-1']").addClass("ui-tabs-active ui-state-active");
jQuery("#blocktabs-first-1").css({ display: "block" });
});
});

Here blocktabs-first-1 is the id of the expanded area for first tab.

Hope this helps.

Thank you

🇮🇳India srilakshmier Bengaluru

Hi, the function entity_form_field_label_field_widget_multivalue_form_alter has been deprecated. Here is a reference.
https://www.drupal.org/node/3180429
So this is not working in D10.

Here is the patch with updated code. Please review.

🇮🇳India srilakshmier Bengaluru

Hi hesnvabr , pfrenssen

Clearing the cache using drush after updating the module has fixed this issue for me.

Kindly check.

Thank you

Production build 0.71.5 2024