Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 93171

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

How to navigate to custom tab in record page in LWC

Below code should help you to navigate to custom tab this[NavigationMixin.Navigate]({ type: 'standard__navItemPage', attributes: { apiName: CustomTabApiName …
Rohit's user avatar
  • 11
-1 votes
1 answer
1k views

LWC Html table with lightning-input onchange giving error

I have a html table in my LWC child component which is populated from the parent. I am able to pass the values and display the data on the child component. On the child component the table has a numbe …
Rohit's user avatar
  • 11
-1 votes
1 answer
896 views

Conditionally add slds-is-selected on multi select dropdown

I have created a multi-select combobox in LWC, passing list of columns to it from the parent components. Its a json which is being passed from parent to child. JSON : [{"align":"left","columnOrder":4, …
Rohit's user avatar
  • 11
1 vote
Accepted

Conditionally add slds-is-selected on multi select dropdown

I was able to get this to work using below logic in the JS this.inputOptions.forEach((opt) => { console.log(opt.selected); if (!opt.selected) { let listBoxOptions = this.template.query …
Rohit's user avatar
  • 11
0 votes
0 answers
256 views

LWC with external js lib not loading when use LWS security checkbox is checked

We have DHTMLX Gantt library loaded in a LWC and deployed to multiple orgs, and we are facing this issue where if we uncheck the "use LWC Lightning Web Security for Lightning web components and Aura c …
Rohit's user avatar
  • 11
0 votes
0 answers
419 views

Use external javascript library only in specific child LWC instead of including in VF page

I am trying to use an external JS library for feedback purpose. When I use the library in a VF page using <script> tag by including src="js URL", it works well and I can inspect and see the library. V …
Rohit's user avatar
  • 11