Questions tagged [lightning-base-component]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
237 views

How to make Button on LWC card look like native UI

I have a LWC component that (tries) to visually mimic the native Task List using lightning-card and lightning-button-menu but the New Button just looks different regarding the padding and size of the ...
1
vote
1answer
302 views

Variant label-hidden with Lightning Input Field and LWC not hiding HelpText Icon? [duplicate]

I've seen various posts about how you cab hide stray elements like this with aura components, and I think the answer with LWC is always 'shadow-dom' as described here but is there really no way to ...
1
vote
1answer
397 views

Multiple calls to lightning:quickActionAPI getAvailableActionFields() fails

I get an error when doing multiple calls to getAvailableActionFields in a Promise.all(). The markup: <aura:component implements="force:hasRecordId"> <lightning:quickActionAPI aura:id="...
6
votes
2answers
519 views

Will Lightning Base Components fully replace SLDS?

I've noticed that certain Lightning UI features have equivalents across Base/UI Components and SLDS, such as modals. But, some don't. I haven't seen a base-component equivalent of Checkbox Buttons, ...
3
votes
1answer
680 views

Are Lookup Filters supported in Custom Lightning Components?

So, there are two ways to get Salesorce Standard Lookup filed in Lightning components: force:inputField and lightning:inputField. However, no matter what I do, I can not get lookup filters to work. ...
2
votes
1answer
1k views

Simulate Record links (including compact layout hover) in Lightning component

In Visualforce you could add an apex:outputLink to a page and had a link that showed a Mini layout on Hover. I want the exact same thing in a custom Lightning component. Add a record link and have a ...
2
votes
1answer
1k views

Hide remove X on lightning:pill/pillcontainer

Is there any way to disable or hide (even just by using CSS) the remove X from lightning:pill? The documentation seems to indicated that as it says "by default": By default, pills are rendered ...
2
votes
2answers
4k views

How to reset attribute value to null in Lightning Component?

I'm trying to reset an attribute value to null. But when I execute reset button call, the value in the textbox is cleared BUT it does not get cleared from display. Here is a sample code. TestCmp &...
1
vote
2answers
6k views

Line breaks in Lightning component HTML source code put space around the element

While tinkering with Lightning base components, I realized that a linebreak - which may seem to have no effect at all - can actually have a visual impact. I don't have a strong HTML background so I'm ...
6
votes
1answer
2k views

Passing user input from `lightning:overlayLibrary` back to parent

I am using lightning:overlayLibrary to collect input from the user which will then be used in the parent component. The modal is simple: 1 lightning:select` in the body and a footer with "Select" ...
2
votes
2answers
1k views

Lightning Data Table Base Component Winter 18' - navigate to Sobject action

How do you set an action on a column to Navigate to Sobject record? Or when the name of the record is clicked fire an action. Doesn't appear you can do it with the base component. <lightning:...
4
votes
3answers
298 views

Lightning Locker proxying simple strings too?

I'm getting some strange results trying to do a simple demo of lightning:radioGroup using aura:if to conditionally render components. I've added a controller method to show the weirdness. Component: ...
11
votes
5answers
10k views

How to close lightning:overlayLibrary custom modal?

The documentation shows how to close an overlay immediately after showing the modal, however, this is not very useful for real-life situations. I have a component which has a lightning:...
0
votes
1answer
433 views

Conditional fields in force:recordData

The new force:recordData component is awesome since it allows us to retrieve sObjects without a direct apex server call. However as a managed package provider, we have a very common situation where we ...
1
vote
1answer
196 views

Bug in Lightning Button Base Component with `afterRender` in Spring 17

Having an afterRender in a Lightning Component makes the Icon not show in Lightning Base Component <lightning:button /> Here is a quick Test App: TestApp.app <aura:application extends="...