Questions tagged [lwc]

For questions about Lightning Web Components (LWC) - the UI framework for the Salesforce platform. When using this tag also include the more generic [salesforce] tag.

503 questions
0
votes
1 answer

Salesforce -- Anyone experiencing weird behavior of "wire"?

Been learning Salesforce for a month now and this is the first weird stuff I have encountered and not a single documentation was able to help me I have imported the wire from lwc properly But whenever I'm deploying it, it says that a wire variable…
Suomynona
  • 639
  • 1
  • 5
  • 20
0
votes
1 answer

How can I fix input width and label spacing to match surrounding lightning inputs

I have a LWC, there is a section which comprises of filters. Most of them are standard lightning-inputs, but two of them, are custom lookup components. The problem is, I can't find a way to make them align and look the same.. even if internally it…
joacoiudica
  • 117
  • 1
  • 6
0
votes
1 answer

LWC tree grid not rendering the data

tempdata in consoleHi iam creating an lwc component for tree grid view i have get the data from my controller but it is not rendering into the user interface. My js code import { LightningElement, track,wire,api} from 'lwc'; import getDomainsList…
0
votes
1 answer

How to invoke the Flow, On Button Click from LWC(Salesforce)

I have requirement where I have to load flow having different screens, on click of button in LWC. I found only one blog related to this is : https://unofficialsf.com/developer-topic-insert-screen-flows-into-your-lwc/ but not working for me. Please…
Anita Mehta
  • 625
  • 2
  • 13
  • 30
0
votes
1 answer

How to display SVG from code in LWC salesforce

I am calling the API (GET API). https://upiqr.in/api/qr?name=SantanuSinha&vpa=9096213138@ybl&amount=100 I am calling the API from the LWC I get the response in the SVG format. How can I display the SVG that I get in the response on LWC
Nitin Zagade
  • 71
  • 1
  • 7
0
votes
1 answer

Clear/Delete the values picked off a lightning-checkbox-group

My goal is to clear all the checkbox checks when I move from one lightning-tab to another. I use the lightning-tab onactive={handleTabClick} function to clear all the field inputs when moving from one tab to another. The following code clears…
Jose Roman
  • 1
  • 1
  • 3
0
votes
0 answers

Why can't I move this code out of the event handler for this Salesforce Lightning Web Component?

I have two event handlers, one is fired when the user types a keystroke that I capture with the onkeyup event and the other is fired when they check or uncheck a checkbox which I capture with a onchange event. This is in the context of a Salesforce…
jkurant
  • 45
  • 7
0
votes
1 answer

LWC Layout items not getting aligned

I need advise; from LWC Customer community form is getting displayed. The problem in facing is when I add new button, the form is not getting aligned in the centre. The code is: