Questions tagged [lightning-base-component]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
0answers
95 views

LWC-base-components-recipes issue, Summer 20' release, assert.js

I am using textarea base component, this had to go with lots of other dependencies to my org. Unfortunately after summer 20' release I had to comment out code in assert.js today: export function ...
0
votes
1answer
33 views

Lightning Map Marker Color

I'm using lightning:map base component. Is there anyway to make this marker blue?
8
votes
2answers
324 views

Recommended approach when LWC Base component is missing feature

I have a nice LWC component which is using lightning-datatable but I also need InlineEdit for those two types which are currently not supported. Lookup Field Picklist Field Option A: I could use the ...
2
votes
3answers
471 views

Adjust and fix appearance of lightning-map LWC component

In my Lightning Web Component, I am using the <lightning-map> Base Component to display a Google map. I have a few display issues and things I would like to adjust, but It doesn’t work as ...
4
votes
1answer
1k 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
1k 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
557 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
581 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, ...
4
votes
1answer
1k 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 ...
3
votes
1answer
2k 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
6k 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
10k 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
3k 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
347 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: ...
12
votes
5answers
13k 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
516 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
202 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="...