Working in playground of lightning web components. I have following files and code:   basic.html  <template> <div style="height: 300px;">     <lightning-datatable             key-field="id"             data={data}...
I am working with lightning web component and apex class. This is new for me.   I am trying to get the content of a Proxy object generated by an Apex class.  But when I console log it I have a result like this :  Proxy { <target>: {}, <handl...
The LWC synthetic shadow dom doesn't seem to handle slots like the native shadow dom implementation e.g.  Let's say you start with a element:  <hello-there><h1>Hi there</h1></hello-there>   Then you attach the shadow d...
My goal is I have number of objects im receiving weekly, each one on these object has date, Full_Name, total_hours, and other fields. I wanna sort these object array by names and by total hours of each day. please only in javascript no jquery  exampl...
I need to identify DOM element by id or className ... in aura lightning. I have the piece of component: <ui:inputNumber aura:id="inputWp" class="slds-input" keydown="{!c.handleInput}" updateOn="keydown" value="{...
I am trying to call Salesforce Intent API from JavaScript, getting 400 Bad Request.  var dataset = {     data: "E:/weather.csv",     type: "text-intent" } fetch('https://api.einstein.ai/v2/language/datasets/upload', {     data...
I am trying to get the attribute value of the element clicked in my javascript code but for some reason the value I am getting is undefined.  This is the code:  HTML:  <c:button buttonLabel="Skype" buttonClass="valmetSecondaryButton no...
When trying to scroll thru picklist of multiselect element the whole picklist disappears, so I am unable to scroll the picklist.   <c:strike_multiSelectPicklist label="Responsible for" value="{!v.contact.Process_Responsibility__c}"...
var refreshSubtab = function refreshSubtab(result) {          var tabId = result.id;          sforce.console.refreshPrimaryTabById(tabId, true);         }   I am using above code to refresh the tab by its id. When I am loading this page in sa...
The problem is simple if done in a html page using javascript/jquery. But not working in a Salesforce Lightning Page. I want to disable a ui:inputText but not able to do it since it doesn't support contextmenu event. I am able to detect the right...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.