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

Image with clickable components

I have an image that displays a parking lot. I want to make parking slots clickable and connect them with records in salesforce using lwc. Leaflet-rastercoords seems a good tool to achieve this but I have difficulty in implementing it in lwc with…
0
votes
0 answers

Not triggering any event until and unless click in last on line inside monaco editor

I am facing a weird issue. I am setting up method through auto suggestion like: CONCATENATE(n)| my cursor shows it within parenthesis after n. like Now i am start typing again by replacing n with some value which also suppose to start dispalying…
Avnesh Shakya
  • 3,828
  • 2
  • 23
  • 31
0
votes
1 answer

What needs to be assigned to a lookup field when using createRecord in salesforce lwc js?

I tried passing opportunity id and name quotefields[OPPORTUNITY_FIELD.fieldApiName] = ???; const recordInput1 = { apiName: QUOTE_OBJECT.objectApiName, quotefields }; console.log(recordInput1) //creating a quote …
0
votes
1 answer

Handle JS Event Values on Change

I have an LWC with a piece that goes something like: Javascript handlePCCFieldChange(event) { if (event.target.name === "checkbox") { this.Obj.checkbox = event.target.checked; console.log('checkbox'); } if…
0
votes
1 answer

Custom Web Components setting properties in connectedCallback

I have posted a similar question on Salesforce stack where the context is Lightning Web Components(which is just an extension of HTML Web Components). I am asking here because I would like to reach a wider audience. In their documentation they say…
Michael Munta
  • 207
  • 2
  • 16
0
votes
0 answers

Handle Multiple Conditions per Field - LWC Conditional Formatting

I'm new here so hoping the title does well. I have something like this in my LWC - //HTML