Questions tagged [lighting-web-component]

The tag has no usage guidance.

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

Having trouble adding event listeners to dynamic html inserted into LWC

I am trying to create some dynamic navigation to a LWC in a screen flow by adding onclick javascript that will set a field in the flow and trigger the NEXT event so that a decision element can ...
Scott Williams's user avatar
0 votes
1 answer
97 views

Dynamic Branding using LWC query string parameter experience site

Can someone help with correcting my LWC code? I'm trying to get a logo to display dynamically based on URL parameters in Experience Cloud, but I cannot get it to render the static resource images. The ...
Taku's user avatar
  • 5
-1 votes
1 answer
973 views

LWC Multi Select Picklist depending on a combo box

Currently am stuck in between these.... first I'd have a combo box based on the selection (onchange) I need to render some data in multi select Picklist....so the problem is of I select any of those ...
Kisaki's user avatar
  • 1
0 votes
0 answers
34 views

Mass Edit in lightning redirect to salesforce classic got an error 'URL No Longer Exists'

In Lightning Error : 'URL No Longer Exists' Component : Portal_OpportunityMassEditRedirector.cmp <aura:component implements="force:lightningQuickAction,force:hasRecordId,forceCommunity:...
sophal thoeun's user avatar
3 votes
2 answers
3k views

How can I change the background color of an input in a lwc?

When changing the background-color attribute of a <lightning-input this also changes the label's background. Inspecting the input I found a class called .slds-input which allows you to change the ...
Sean's user avatar
  • 51
1 vote
1 answer
38 views

Lightning Component error question

I am trying to make a component to use lightning:datatable to display Contacts in an Account. I am getting this error when I attempt to open an Account in my page : A Component Error has occured! ...
Zoom_v's user avatar
  • 3,860
1 vote
1 answer
2k views

Add a product description field to "Edit Selected Quote Line Items" page

My requirement is to display the product description field in "Edit Selected Quote Line Items" page which opens after you go to Quote object-->Related List Tab-->Quote Line Items List--...
Capt Shaunz's user avatar
1 vote
1 answer
3k views

pass Id in onclick to js controller

I'm trying to write my own version of pills in LWC without using the base component. I want to be able to pass the item.Id once a pill is clicked, but I always get undefined. HTML: <template ...
Json's user avatar
  • 1,587
1 vote
1 answer
2k views

How can I put a horizontal scroll bar in this table?

When I try to view the mobile version of this table, I don't get the horizontal scroll bar. What should I do to view the scroll bar or make it responsive? I already tried to add: <div class="...
Cline's user avatar
  • 111
-1 votes
1 answer
241 views

How to render a json in the same line? (LWC)

I have a Json like bellow. I want to render complement like in the picture. P.S: I'm able to access the other columns normally. JSON { "postalcode": "1234", "...
Cline's user avatar
  • 143
0 votes
1 answer
790 views

Can't get element id inside aura iteration

I need to create a component like this from the image. An accordion with several sections and inside each section some radio buttons. So, if the user chooses the Other option then he will have to ...
Marcus Vinicius's user avatar
0 votes
1 answer
390 views

How to compare two cases Id's to each other and display the child case if the the parent and the child case Id match

I have a lwc that grabs cases. The cases have child cases, I would like to display the child case with the parent case. I am still new to LWC's. I can get the parent case and display that data fine. ...
Jamesk's user avatar
  • 3
0 votes
0 answers
204 views

how to bind Lighting-input with javascript Object

I have been working on Custom Component where I need to show the Opp detail and OppLineItems. I can't work with Lightning-edit-form etc because field labels should be different and other challenges, I ...
amidstCloud's user avatar
  • 2,827
1 vote
1 answer
247 views

WireService For Community User Not Returning Field-Values For User object

I'm trying to use the WireService to get fields for the current logged in user on a community/experience-site however the values for the fields I require are returning null. As you can see from the ...
RedQueries's user avatar
0 votes
1 answer
116 views

I have two lwc components, each have recordId based on first component. how to pass the recordId to second component

I have two lwc components, each have recordId based on first component. how to pass the recordId to second component? I am able to pass recordId from Parent to first child but it is not passed to the ...
SHUCHI TIWARI's user avatar
0 votes
1 answer
304 views

multiselect pick list - LC and Visualforce component

I basically need to build a multi-select picklist component that works both in Lightning and Classic. There're already solutions available for both scenario, LC embedded in FlexiPage and Visualforce ...
Fabrizio Bianchi's user avatar
0 votes
1 answer
640 views

I have multiple drop dropdown under <aura: iteration/>, then how to get selected value of dropdown

[![In this list the first field is an iteration on my apps fields and then salesforce object, Sync Direction, and Salesforce Field. My question is how to get the value of any selected box(arrow) using ...
Praveen Patel's user avatar
3 votes
1 answer
1k views

Stripe JS for Lightning Web Component - Not Able to Generate Card Or Bank Token [closed]

I am trying to integrate Stripe with Salesforce for one of my clients and trying to use Stripe JS in LWC. The Library is getting loaded fine without any issue and I am able to see the card element in ...
Amit Singh's user avatar