Questions tagged [lightning-base-component]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
51 views

Using lightning-combobox is breaking LWR app

I am using node v16.15.0 in a project using LWR outside salesforce. I have done the steps to add the base components and the lightning design system design. lightning-button and lightning-spinner are ...
juvian's user avatar
  • 141
12 votes
4 answers
2k views

How can I test that my component, which implements the standard modal components, is working properly?

Since the update to API 56.0 (Winter '23) Salesforce introduced a new set of components to help developers create modals with the Lightning Experience format in an easier way. The components added ...
Renato Oliveira's user avatar
0 votes
1 answer
1k views

lwc input rich text strange behaviour / error

I am using the lightning-input-rich-text base component and as soon as i mouse click on the body portion of it i get the following error underneath - irrespective whether there is some value or not. ...
owsata's user avatar
  • 194
3 votes
0 answers
143 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 ...
Patryk's user avatar
  • 31
4 votes
1 answer
1k views

Lightning Map Marker Color

I'm using lightning:map base component. Is there anyway to make this marker blue?
Behiç Acar's user avatar
12 votes
2 answers
1k 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 ...
Robert Sösemann's user avatar
2 votes
4 answers
4k 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 ...
Robert Sösemann's user avatar
4 votes
1 answer
2k 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 ...
Robert Sösemann's user avatar
2 votes
1 answer
9k 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 ...
BritishBoyinDC's user avatar
1 vote
1 answer
1k 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="...
Carl Otto Gjelsvik's user avatar
6 votes
2 answers
645 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, ...
Lachlan B's user avatar
  • 313
4 votes
1 answer
4k 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. ...
Marko Tomic's user avatar
2 votes
1 answer
2k 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 ...
Robert Sösemann's user avatar
4 votes
3 answers
7k 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 ...
Robert Sösemann's user avatar
2 votes
2 answers
12k 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 &...
VarunC's user avatar
  • 5,920
2 votes
2 answers
23k 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 ...
TSunar's user avatar
  • 197
6 votes
1 answer
4k 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" ...
tagCincy's user avatar
  • 341
2 votes
2 answers
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:...
Michael Yocca's user avatar
5 votes
3 answers
594 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: ...
Charles T's user avatar
  • 10.9k
14 votes
5 answers
18k 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:...
Carl Otto Gjelsvik's user avatar
0 votes
1 answer
749 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 ...
dsharrison's user avatar
  • 3,992
1 vote
1 answer
220 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="...
VarunC's user avatar
  • 5,920