question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Imposible to set titles on tabs and accordion

See original GitHub issue

In latest version can’t set titles for Tabs and Accordion widgets. In some previous versions I’ve used set_title method, now it’s unavailable.

image

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jasongroutcommented, Feb 20, 2020

Use the set_title method for 7.5.1. In 8.0, you’ll be able to set the titles in the constructor.

0reactions
williamsteincommented, Apr 24, 2020

@jasongrout for what it is worth, in my CoCalc implementation of tabs, if they don’t have titles then I’m automatically labeling them with “1”, “2”, “3”, etc., rather than leaving the tabs blank like you do. The reason is because I’m using https://ant.design/components/tabs/ as our UI library (rewriting all the bootstrap stuff to instead use antd), and the antd tabs don’t work if they are empty strings (just due there not being something to click on). Anyway, it’s just a sort of funny edge case…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Accessibility – not possible to tab to accordions - WordPress.org
It should be possible due to web accessibility to tab to an accordion and also open/close an accordion in order to read the...
Read more >
p:accordionPanel tab title not showing - jsf - Stack Overflow
It is successfully listing all the tabs but the titles are blank. I have another panel for adding forms to the list <p:accordionPanel...
Read more >
Changing the font size in accordion tab titles
Hello, Is there a way to change the font size and style in the accordion tab header? I'm able to increase the text...
Read more >
Adding new titles on accordion - Brizy Help Center
Hi,. Yes, you can add more than 2-3 tabs in the Accordion element. For this, you have to duplicate one tab. See here....
Read more >
adding some HTML to accordion title [#3027754] | Drupal.org
For my project, I need to style some part of the accordion tabs titles (for ... Is it possible to allow some HTML...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found