New answers tagged html
0
votes
Lightning Dual Listbox style
I removed selected-label="Selected" and the box was aligned correctly .
0
votes
How to remove the Unwanted string from my Iframe tag it only show's up in the chrome browser?
It'll be easier to point the correction if you can share the code where you have your iframe. However, for apex iframe the attribute title is used to set the title of your document.
For Example -
<...
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 ...
0
votes
Multi column sorting in lightning web components
Suppose you have an Array of Users with properties firstName and lastName.
let userArray = [
{
firstName: "Shaun",
lastName: "Hall"
},
{
...
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"
...
0
votes
Accepted
Pass a variable from AMPscript block to Client side JS?
You can just print the ampscript variable where you normally set a client-side javascript variable. In the below example, I set the cid to the contactId ampscript you already declare in the top:
%%[
...
0
votes
Accepted
Salersforce community theme: List-style CSS not working
I have seen a similar scenario in the past. This is working as designed behavior. The aura components are designed to use the CSS of its parent or container (the community template is the parent in ...
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(...
0
votes
Error: Unknown public property "name" of element <LIGHTNING-INPUT-FIELD>. This is likely a typo on the corresponding attribute "name"
Your problem is related to the fact that you are trying to pass a value to a parameter that does not exist. lightning-input-field component doesn't have the 'name' parameter
https://developer....
0
votes
Accepted
Child component not getting re-rendered when parent component data is changed in LWC
You need to implement a setter to get this to work properly.
Currently when the value from the parent changes, nothing will happen.
In the setter you can directly call a method to run your plot data ...
0
votes
Accepted
SHOW formatted JSON in LWC
I found below answer.It is working. We just have to make some changes as per LWC.
For example,
Instead of document.getElementById("json") use template.querySelector().
https://stackoverflow....
0
votes
How do I populate a formula text field for an HTML link that would include multiple fields from the same object?
You can use URLFOR for this purpose.
<p><apex:outputLink value="{!URLFOR('https://calendar.google.com/calendar/r/eventedit',null,[text=RelatedTo.Name,details=RelatedTo....
Top 50 recent answers are included
Related Tags
html × 916visualforce × 266
lightning-web-components × 257
javascript × 221
apex × 158
css × 150
marketing-cloud × 113
ampscript × 65
lightning-aura-components × 63
email × 63
email-template × 58
lightning × 46
pdf × 35
slds × 27
community × 24
table × 23
jquery × 17
html5 × 17
content-builder × 16
controller × 14
visualforce-component × 14
cloudpage × 14
js × 14
lightning-design-system × 12
images × 11