We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [lightning-tab]

A single tab that is nested in a lightning:tabset component. Currently in Beta (Winter 2018). This component inherits styling from tabs in the Lightning Design System.

Filter by
Sorted by
Tagged with
0
votes
0answers
67 views

LWC lightning-tab content not getting refresh on UI

On child Component if I update a value of any property, it gets refreshed on first tab but second tab is content is showing the old values only while property is already marked @track (same property ...
0
votes
0answers
13 views

Prevent tab being opened outside it's Lightning application

I have created a Lightning Tab and added it to one application. If a user is in another application, then navigates to the App Launcher, then searches for the Lightning Tab, the user can then click ...
0
votes
1answer
73 views

lightning-tab align align center

I have only two tabs in lightning-tabset. And its align left. I need to have it in center. I tried padding-left: 200px; on ".slds-tabs" but nothing seems to be working. It works when i change through ...
1
vote
1answer
304 views

Lightning Tabset tab change callback (LWC)

I am looking to track when the tabs are changed using the lightning-tabset component. The aura version used to have the onselect callback, but there is no equivalent in LWC. Do I have to recreate my ...
2
votes
2answers
510 views

Lightning Web Components and Change the Focused Tab in a Tabset with Javascript

In Lightning Web Components (lwc), not Aura, a lightning-tabset has an active-value-tab attribute. How do I change the tab in focus. In a two tab (lightning-tab) based lightning-tabset, the main (...
0
votes
1answer
200 views

Refresh lightning:tab on change

I Built a lightning component which is used in opportunity layout. This component used some child component as lightning tab. The problem is when I edit and change some value in first tab is not ...
0
votes
1answer
66 views

Unable to Change/Add CSS in lightning:tab

Trying to add css class in lightning:tab, but always getting the aura:id value as undefind, I am trying to load my third tab as red in color onload of the component. here is the component <...
0
votes
1answer
713 views

how to refresh the source tab when the current tab is closed

I have a button "Create Activity" in a lightning component (say LC1) on the case lightning record page. When I click that button, an another lightning component (say LC2) opens as a sub tab with some ...
0
votes
2answers
75 views

Can we open an Lightning Component as a Tab within Lightning UI?

For Lightning console app, we can open a lightning component in a new Tab using lightning:workspaceApi. Can we avail the same functionality without Lightning Console app?
1
vote
1answer
132 views

Raise an onblur event in lightning:tab

We are creating tabs in a tabset dynamically. We need to save a record when a tab loses focus. For some reason, the onblur event is not raised. onactive works fine, but we already lost the focus of ...
1
vote
1answer
741 views

How to change Lightning:Tab label dynamically?

I want to change label for tab dynamically, but that's not working. Please find the related code below: Component <lightning:tab label="test1" id="tabId"> JS Controller component.find("tabId"...
0
votes
1answer
242 views

Lighting:tabset rendering tabs in “more” drop down when tabs are populated dynamically even though it has enough space to display all tabs

My expected result should be, all tabs display in one line with out "more" option by using dynamic code. When i tried dynamic code, Tabset displays only 3 names and rest of them in more option as ...
0
votes
1answer
105 views

I need to restrict access to users from seeing/using Lightning custom Tab

I need to restrict access to users from seeing/using Lightning custom Tab. Not all users should get access to it. I want to control this with a permission set and I Need to remove tab access from all ...
2
votes
1answer
455 views

Can't dynamically change Label of lightning:tab?

I need to dynamically change the label of a lightning:tab -- without reloading the entire tab. I thought I could do it with normal data binding, but it's not working. <aura:attribute name="tabName"...
1
vote
0answers
269 views

Opening a Lightning Community page with Lightning:tabset and Tabs

I would like to place a Lightning:Tabset and Tab component on several pages of a Lightning Community and open each page with the Tabs. The reason is that the current standard Tabs component will not ...
1
vote
1answer
110 views

Highlight href Lightning Community page in a Lightning Tab

I am trying to add a Lightning Tab component to several custom Lightning Community pages and have the corresponding tab highlighted for the page it is on. Example: If I I am on the Home page I want ...
0
votes
2answers
331 views

Put related list in lightning tab

I have a lightning record detail page. I have some related lists. What I would like to understand is if I can put one of the related lists under the activity tab. Attached image.
1
vote
2answers
452 views

How to present an icon that has a background in a lightning:tab label?

This component markup: <lightning:tab aura:id="tab" title="{# 'New or Existing ' + v.tab.label }"> <aura:set attribute="label"> <lightning:icon iconName="{# v.tab.iconName ...
3
votes
1answer
564 views

Lightning:tab accesskey and tabindex not working

Lightning:tab (beta) has accesskey and tabindex attributes, however it seems to be not working properly. The tabindex tag doesn't show the correct index and the accesskey is not available when ...
0
votes
1answer
989 views

Need to make second lightning:tab visible on button click

I am currently developing a lightning component in which I am using lightning:tabset.Within this tabset, there are two lightning:tab being used in it.By default, when the component loads, the first ...
3
votes
0answers
233 views

Has anyone else seen the issue of Lightning Component, if updated to version 41.0, changes the Component Label by appending namespace

No COMPONENT named markup://namespace:namespace_MyComponent found This error pop up after I updated my Lightning Component to API version 41.0, and the error comes when the component has a dedicated ...