4

The problem is that the browser can't update the view while JavaScript is running. In order to make this work the way you expect, you need a brief pause: this.showSpinner = true; new Promise( (resolve,reject) => { setTimeout(()=> { this.sortMyData(this.allData, this.sortByMapped, this.sortDirection); resolve(); }, 0); }).then(...


4

There has no such limitation that you can't get the record id on User Record page through force:hasRecordId. I have tried a simple code and it works perfectly fine:- Component:- <aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:availableForAllPageTypes,force:...


3

You have emebedded lightning component in visualforce page. showToast event is listened by lightning app framework and shows the toast message. In your canse there is no outer lightning app which could listen for that event. So you are just firing that event and no one is listening to it. I had the similar use case and to solve it I had to create a ...


2

For earlier versions of supported browsers, and for IE 11, Lightning Web Components uses compatibility mode. Compatibility mode uses the lowest common denominator—code is transpiled down to ES5 and the required polyfills are added. Lightning web components work, but performance suffers. For the most up-to-date rules, see Compat Performance in the ESLint ...


1

For Task, the Related To field is known by API Name WhatId and per the Task Object doc, it must be: Type reference Properties Create, Filter, Group, Nillable, Sort, Update Description The WhatId represents nonhuman objects such as accounts, opportunities, campaigns, cases, or custom objects. WhatIds are polymorphic. Polymorphic means a ...


1

I'm assuming you're trying to get around the limitation with calendars in Lightning Experience where only one field can be selected as the Field Name to Display. As you've already discovered, you can combine fields in a formula field. But the way Salesforce built its Calendar product, it looks like any line breaks will be stripped out of event names, ...


1

You have misunderstood the HTMLElement.focus() method. The HTMLElement.focus() method sets focus on the specified element, if it can be focused. In other word, It sets the element as the active element in the current document. See the code below:- <template> <lightning-input type="date" class="date-input" label="date" onfocus={handlefocus}>...


1

As of today Lighting Components are not supported in the Mobile SDK. I have not heard about Lighting Components not rendering properly, the issues we have encountered have been about long term session management and navigation. If your app is a simple, single page full screen web experience you may be able to simply wrap the LC in VF, though I wouldn't ...


1

Documentation link This interface has no effect except when used within Lightning Experience, the Salesforce mobile app, and template-based communities. You need to find another way for getting the userId.


1

This component doesn't support icons. Consider implementing a custom lookup component instead.


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