Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
4k views

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-...
Anita Mehta's user avatar
0 votes
1 answer
520 views

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 ...
Nitin Zagade's user avatar
0 votes
1 answer
1k views

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 ...
Jose Roman's user avatar
0 votes
0 answers
454 views

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 ...
jkurant's user avatar
  • 45
1 vote
1 answer
45 views

HTML: <body> <script type="module" src="./script.js"></script> <div>Welcome to my first html page...</div> <div id="username">...
zada sellers's user avatar
1 vote
1 answer
3k views

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: <template> <...
pavan kumar's user avatar
0 votes
1 answer
1k views

I'm currently trying to render a specific class across two lightning-badge components that is suppose to change both badges from inverse to success, but am getting this instead: When the value on the ...
jackb's user avatar
  • 35
0 votes
1 answer
1k views

I wanted to implement Lightning TreeGrid LWC component with no header row. Tried Updating the CSS in inspect element I was able to hide the header by modifying the Thead css as shown in the image from ...
Shetty Sushanth's user avatar
0 votes
6 answers
12k views

All of a sudden I started getting this error everytime I'm trying to deploy or retrieve a file directly (right click on apex file and retrieve). This always worked and now it doesn't for all of my ...
Walker's user avatar
  • 21
1 vote
1 answer
14k views

When I pick a value from the dropdown (Combobox) instead of keeping the value I picked the dropdown shows "Select Progress" instead. How can I make the code show the value I picked...??? I ...
Jose Roman's user avatar
0 votes
0 answers
2k views

Hi there I'm working on a functionality for checkbox selection limited for 4 checkbox in the list , so now I have filter hue-rotate in styling for 4 selected checkbox , now if I uncheck the anyone of ...
Manjunath L's user avatar
2 votes
1 answer
2k views

I have extended the lightning-datatable in order to implement a working picklist editable datatable. I have created the template and the editTemplate as you can see below. The value is working fine in ...
codequestionaab's user avatar
0 votes
1 answer
703 views

chrome showing error "This extension violates the Chrome Web Store policy" for Salesforce LWC Editor. should I delte it? and what is the alternative?
iWasCloud's user avatar
  • 145
0 votes
2 answers
5k views

The lightning-datatable is showing related info to the contact record. I get the field that changed, with the new data, and the row id, but not the record Id. Debug logs show I get back a blank Object ...
Dar Wright's user avatar
1 vote
4 answers
3k views

I'm stuck to that issues and don't know how to fix that, so As I know standard library such as 'NavigationMixin' for file preview won't correctly work in the community page, so that code won't work ...
newbie's user avatar
  • 11
1 vote
1 answer
3k views

I am using a 'Custom Datatable' solution in order to modify picklist values within a datatable. Project code may be referenced here: https://live.playg.app/play/picklist-in-lightning-datatable I have ...
vpsdp's user avatar
  • 11
1 vote
1 answer
574 views

I have a lwc that works with Event Platforms, but event limits are exceeded and I can't reduce them. Is there any functionality or method that can refresh my component in real time without platform ...
Arturo Castro's user avatar
-1 votes
1 answer
7k views

Working with Salesforce, org is authorised, everything works fine until it doesn't and there's no error code or anything. In the morning I retrieved a few files I had to change, 10 minutes later when ...
Francesco Ghiselli's user avatar
-1 votes
1 answer
16k views

Hello beautiful people, I have a scenario where I am defining a Map with string key and a list. Now, I want to put values in a list one by one and also display them using the single Key. Example code -...
Praveen Behera's user avatar
0 votes
1 answer
681 views

I am currently trying to build an Analytics Dashboard LWC using the d3 library. I want to be able to listen for certain events on the SVG element, however no matter what I try it seems like that event ...
Tyler Edwards's user avatar
0 votes
1 answer
1k views

I am writing a lightning html code to display red flag using the SLDS. However, I only see grey flag. Can you help me to get the red variant of the icon? Thank you! <lightning-icon icon-name="...
Praveen Behera's user avatar
0 votes
0 answers
2k views

I want to create custom lookup field without using lightning-edit-record-form. Notify to when completed = lookup(users), its not fetching the users name. Here is what I coded: <lightning-input ...
Kavita's user avatar
  • 1
3 votes
1 answer
17k views

I am having some difficulties importing LWC components from org to VSCODE. Is it the right way? Here's what I am following - Created a new Manifest project. Connected to my sandbox org (not scratch). ...
Praveen Behera's user avatar
0 votes
1 answer
3k views

I have an image in base64 format and I want to push the image data explicitly into my lightning-input-rich-text. Is there any way? My code looks like this: <lightning-input-rich-text value={body} ...
nischal vasisth's user avatar
0 votes
1 answer
4k views

I am working on something which includes LWC with tooling API. I wrote this below method which makes a callout. but when I call this method this method from lwc at that time I'm unable to get session ...
Harshit Tyagi's user avatar
0 votes
1 answer
5k views

I am trying to build the quiz app in LWC. this is the array in the controller file. User should get the question and select one answer via radio button. quizList = [ { id: "...
Wolfgang's user avatar
  • 575
1 vote
1 answer
1k views

I'm using uiRecordApi to create record with a specific recordType, but it's making two record instead of one. One with RecordType I'm giving and one with the default RecordType, which is set default ...
Harshit Tyagi's user avatar
2 votes
1 answer
3k views

I've noticed some interesting behavior in an LWC that I am building and haven't been able to find much info on the cause. Basically I have an Apex method declared with multiple signatures: // myMethod ...
Tyler Edwards's user avatar
1 vote
0 answers
2k views

I am customising LWC <lightning-datatable/> for a version for my company. I have been successful importing and extending LightningDatatable in a local app generated by create-lwc-app. ie. import ...
G-key's user avatar
  • 83
0 votes
2 answers
4k views

HTML <template> <lightning-card> <lightning-record-form object-api-name={objectApiName} onsuccess = {handleSuccess} fields={CONTACT_FIELDS}> ...
Harsh Prakash Agarwal's user avatar
-1 votes
1 answer
663 views

Page which will display New Milestone popup in the org, there should be one button for Add new milestone. On click of this button, popup will ask for milestone details and after click on save button ...
Kavita's user avatar
  • 1
1 vote
0 answers
962 views

I am trying to create a breadcrumb using lwc component to display it on my community pages. I don't find a way to get the names of the pages dynamically. I need to use the same breadcrumb component in ...
Geek's user avatar
  • 169
1 vote
2 answers
7k views

Im trying to increase the height of the textarea box after a user creates several line breaks within the textarea. I'm having issues finding a way to target the value of the textarea height in order ...
denzgrant's user avatar
0 votes
0 answers
164 views

I have a method in utils file that is commented like this, the body is not important. /** * Calculates width of the column. * * @param {string} text text. * @param {boolean} hasTooltip does title ...
Zobla's user avatar
  • 123
0 votes
0 answers
166 views

below is my code to update the state.customer slice. However when this runs, I see that the next state is not updated with the payload dispatched from the action. can some one please point out what I'...
Roy's user avatar
  • 1
1 vote
1 answer
4k views

Hi is there any way of removing this "or drop files" part from the lightning file upload button ? In the below screen shot i want to remove the "or drop file" section and only keep ...
Gon's user avatar
  • 49
0 votes
0 answers
2k views

We need to create a lightning web component where we would input the following fields of the Case Object (These fields would be dynamic. Can be changed without changing any code. Make all fields ...
Mukul Gautam's user avatar
1 vote
1 answer
2k views

I am new to Sales Force and I want a newly created Lightning Web Component to be accessible by url to outside clients. I'm adding to an existing SalesForce instance. We have several existing lwc in ...
Sorrel Brigman's user avatar
0 votes
1 answer
9k views

Problem is with this line in JS code inside result function- return this.wirestoredrecords.data.LastName; I am trying to get the Contact Fields Values using Getter and display in the HTML. PLS HELP. **...
Praveen Behera's user avatar
0 votes
1 answer
455 views

Can Anyone explain please why did we write ": [ ] " in line 10. I believe it is the simplest way to write but what exactly is this, can anyone give another example of this to understand ...
Praveen Behera's user avatar
0 votes
2 answers
4k views

How to get parent id on custom button click of the related list. Question Exploration:- when we open the Account detail record page and go in the related tab we have a contact list there and a new ...
Harshit Tyagi's user avatar
0 votes
1 answer
1k views

I have an apex list which returns a result of SOQL. List<Account> List1=[select Name, Phone from Account where Name=:actName]; This method is being called from a JS file of my Lightning Web ...
Niklaus's user avatar
  • 39
2 votes
1 answer
3k views

im having a simple web component running on my page. By a button click i simply remove the element expecting that the element and the class behind it is getting killed. But actually it keeps running, ...
NovumCoder's user avatar
  • 4,727
1 vote
2 answers
4k views

I am very new to LWC and Javascript. I have an LWC component with a search bar and a table (created in HTML file) showing the search result. I want to add another column in the table with a button on ...
Niklaus's user avatar
  • 39
3 votes
2 answers
556 views

JSDoc skips my public LWC variables. Here is an example: /** * SomePublicVarName mode - default is false. * * @type {boolean} */ @api somePublicVarName = false; If I ...
Florian G's user avatar
  • 617
1 vote
0 answers
1k views

I have a button on the parent lwc. When called, it will call a method on the child lwc to perform data update via apex method. Once done, it calls refreshApex to refresh the data on the lightning ...
Eddie Wong's user avatar
2 votes
2 answers
865 views

I have a requirement in javascript to write a regex for the following condition The Custom Metadata Record MasterLabel field can only contain underscores and alphanumeric characters. It must be unique,...
Pavan Sahil's user avatar
1 vote
0 answers
355 views

I am trying to display a SVG that contains a script inside a LWC and have some interaction with it. This SVG is an exploded views of my product. My LWC will contains this SVG and a list of product. ...
Blandine Alvarez's user avatar
0 votes
1 answer
3k views

I am using a lightning-record-edit-form as shown below <lightning-record-edit-form object-api-name="Client_Intake__c"> <lightning-input-field name="Id" field-name=&...
Burak's user avatar
  • 310
2 votes
1 answer
2k views

I have to animate the Toast Notifications, I am currently using the transition to show it coming from the top. It looks good to me, I want to stop the sudden moving of the other toast notifications so ...
Somya Tiwari's user avatar

1
3 4
5
6 7
10