Category "lwc"

How to document LWC Salesforce components public variables with JSDoc?

JSDoc skips my public LWC variables. Here is an example: /** * SomePublicVarName mode - default is false. * * @type {boolean} */ @a

How to show red flag icon in Salesforce LWC using SLDS?

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

LWC Pagination with page number

I'm a junior developer, I need some help to implement an lwc component which display records in experience site so I need to implement pagination since we have

how to make state field as not required in lightning record edit form?

Im using address field from "contactpointaddress" standard object. When i'm using address field from lightning record edit form with attribute as required, i do

lightning-radio-group in LWC

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. quizLis

vsCode can't retrieve/deploy anything

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

Handling click/hover events with d3.js in Analytics Dashboard LWC

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 ma

Calling Apex method with multiple signatures from LWC

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 declar