Skip to main content

Questions tagged [lightning-web-components]

This tag is for questions related to JavaScript, CSS, or Markup when used in the Lightning Web Component (LWC) programming model, or for questions of interoperability between LWC and the original Aura-based lightning components.

0 votes
0 answers
19 views

How do I pass over the values of merge fields inside of dynamically created input fields in a custom property editor?

I am trying out building acustom property editors for an apex action inside a record-triggered flow. What I have: A lightning web component acting as a custom property editor which is currently ...
integrator's user avatar
0 votes
0 answers
11 views

Blank Screen Rendered when i run LWR (LWC OSS) Project

I tried to create a simple LWC-Oss LWR Project but when i add the alyout template in my lwr config file the screen is rendered blank. if i remove the layout template from config file it renders. main....
277 Raj Singh's user avatar
-1 votes
0 answers
23 views

Edit Lookup Field of Lookup

i have created a datatable where i need to edit the lookup field of lookup of that object used in datatable like QuoteLineItem object has product lookup and product has category lookup and i need to ...
ALLYAN HAIDER's user avatar
0 votes
0 answers
37 views

How do I right-align an LWC input control?

I need the following input to be right-aligned: <lightning-input type="number" name="externalInvoiceAmount" label="Enter a number" variant="label-...
Michael Sobczak's user avatar
1 vote
0 answers
20 views

Task doesn't appear in cases feed

How to make a manually created task or a task logged via openCTI, appear in cases feed? it seems like only the tasks created through cases interface are displayed in the feed, the other tasks appear ...
Patryk Stefaniak's user avatar
0 votes
0 answers
28 views

How can I create a temporary, closable top-level tab outside of a Console app?

In Salesforce Console apps, we can use the Workspace API to open temporary tabs programmatically. These tabs can be dynamic and closable, which is great for user experience. However, outside of a ...
Arkan Mansuri's user avatar
0 votes
0 answers
19 views

Can I expose both Aura wrapper and inner LWC properties in Lightning App Builder UI?

I have a Lightning Web Component (LWC) that’s exposed to the Lightning App Builder using isExposed="true" and a properly configured block in its .js-meta.xml. This allows admins to ...
Arkan Mansuri's user avatar
0 votes
0 answers
30 views

Can I create a more user-friendly right-side config panel in Lightning App Builder for an exposed LWC?

I have a Lightning Web Component (LWC) with isExposed="true" and properly defined in the .js-meta.xml file. This allows the component to be used in Lightning App Builder, and I can define ...
Arkan Mansuri's user avatar
0 votes
0 answers
39 views

Number localization issues from LWC hosted in flow

I created an lwc that is inside a flow for creating travel billing records for a service company. This is used both in the usa and europe, especially in Spain. The issue is everything works great for ...
Michael Kerby's user avatar
0 votes
1 answer
48 views

LWC Jest Test fails as shadowRoot is inside conditional

New to writing Jest tests for LWCs. Using Agentforce to generate my tests, but having to tweak...something to get them to pass. It appears... partial test.js: beforeEach(async () => { // Create ...
wbrproductions's user avatar
0 votes
1 answer
29 views

lightning-record-picker appears to ignore one filter criteria that references a variable that has been changed

I'm using lightning-record-picker in a component to select user records. The component is passed a list of user Ids to exclude and a list of UserTypes that are allowed. The exclude IDs and UserTypes ...
Ken's user avatar
  • 651
-2 votes
0 answers
25 views

VS Code Lightning Dev App not a SF Command in VS Code

VS Code Error image PS C:\Users\mark8\OneDrive\Desktop\trailhead> sf lightning dev app --target-org scratchOrg --device-type desktop » Warning: lightning dev app is not a sf command. Did you mean ...
Mark5000 Crimper's user avatar
0 votes
1 answer
38 views

Difference between Page Layout and lightning-formatted-number values for percent field

I have a percentage field that gets calculated in apex and is displayed in a custom LWC on the layout using a formatted number as follows: <lightning-formatted-number value={returnsTotal.rora} ...
Alin Paraschiv's user avatar
0 votes
0 answers
33 views

Do we need to use @wire everytime like salesforce recommends

Lets say we have import { LightningElement, wire } from 'lwc'; import testWire from '@salesforce/apex/LWCTest.testWire'; export default class TestWiring extends LightningElement { message = '...
pincet's user avatar
  • 981
-1 votes
0 answers
21 views

handle multilingual content in Salesforce for external portal integration

Hello I have a SALESFORCE - WEB PORTAL integration, and the portal needs to display activities in multiple languages. The activities will be created in Salesforce in Spanish, and the idea is to show ...
Banzoni's user avatar
  • 33

15 30 50 per page
1
2 3 4 5
605