Hot answers tagged

4 votes
Accepted

For each in HTML not working

It looks like your variable references are not quite right. Please use different variable names for each reference to avoid confusion. Existing: There is no rn nor rn.contracts. <tbody> <...
user avatar
2 votes
Accepted

Cannot update list in JS after assigning value to field in that list

You need to modify the original variable. As you've probably noticed, however, the data is read only. tempVar is disconnected from the original data because you used JSON.parse(JSON.stringify(...
user avatar
  • 430k
2 votes
Accepted

Hide/Show columns of lightning-datatable in Lightning Web Components

The only thing you need to do is removing the desired element from the columns array, or use the original set if you want it back. <template> <lightning-input type="toggle" ...
user avatar
  • 86
1 vote
Accepted

Avoid break line when the field is empty breakline

Judging from your comment: The line breaks that were physically entered between your variables are the problem. Since you previewed as text - pure text emails understand and display them as line ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible