4

you can get all slds lightning icons SLDS icons. You can enter icon Names with following condition iconType:iconName, Makesusre iconType is in lowercase. Example iconName = 'standard:account' So I add down icon in your code <lightning:helptext content="{!v.text}" iconName="utility:down" class="popover"/>


4

You did not set attribute title in card. If you check docs of lightning:card, title attribute is MANDATORY. <lightning:card footer="Card Footer" title="Hello"> <aura:set attribute="actions"> <lightning:button label="New"/> </aura:set> <p class="slds-p-horizontal_small"> Card Body (custom component) ...


3

No. As of today its not available. You can keep checking the documentation Base Components: Aura Vs Lightning Web Components to know: The table lists usage differences between Aura base components and their Lightning web component counterparts.


3

You could embed your LWC in a Visualforcepage, and create a VF action instead. For doing so you'd have to embed your LWC in an aura:app —instead of an aura:component. Here's a pseudo-code —you may need to adjust it: The Aura app (myAuraApp) <aura:application access="GLOBAL" extends="ltng:outApp"> <aura:dependency resource="c:myLWC"/> <!--...


3

The correct general selector for checkbox checkmark of <lightning:input type="checkbox"/> (where you can redefine its color) is: .THIS .slds-checkbox [type="checkbox"]:checked + .slds-checkbox_faux::after, .THIS .slds-checkbox [type="checkbox"]:checked + .slds-checkbox--faux::after, .THIS .slds-checkbox [type="checkbox"]:checked ~ .slds-...


2

From documentation, If the local ID is unique, find() returns the component If there are multiple components with the same local ID, find() returns an array of the components If there is no matching local ID, find() returns undefined So, you should first check if its array, and if its array you can get length or else you can ...


2

You are missing out the send step as mentioned here here. Sends a hit to Google Analytics. The fields that are sent are the values specified in the ...fields parameters and fieldsObject, merged with the fields currently stored on the tracker. here is my sample code of afterScriptLoaded afterScriptLoaded: function (component) { // store the ...


2

This is because in javascript, if you assign complex (non-primitive) data-types, the assignment is reference types. So, change in copy of data will change the original data also. You can do: Option 1: Spread syntax I guess you are returning list of objects (array), so you can do: component.set("v.pricebookProductsCopy", [...response.getReturnValue()]); ...


2

Added based on comments As a standard you get only 4 values as stated. If you want to render based on custom width/height, you can use media queries The Media Queries Level 4 specification includes some syntax improvements to make media queries using features that have a "range" type, for example width or height, less verbose. Level 4 adds a range context ...


1

The critical update applies only if your attributes used in have a function expression $A.createComponent/$A.createComponents Lets say your attribute definition was as below var attributes = { 'chldfield1': field1, 'chldfield2': function (x,y) { console.log('test')}, 'chldfield3': field3 }; The above assumes your component has an attribute of type "...


1

That is because you are assigning List<Website_Service__c> to selectServ and when you try to get value on it like selectServ.Name, it will be undefined. You should rather get it from a particular record. I see that you are are fetching single element LIMIT 1. You can use below: selected="{!ans.Name == v.srvList.selectServ[0].Name} This will fetch the ...


1

In lightning component, you cannot assign aura ID a dynamic value. Check this post for more information. You can leverage HTML Data attributes in iteration to keep dynamic IDs or Keys for identification of particular data in the controller using the event from where the element was triggered. Aura Component Snippet <aura:iteration items="{!v....


1

I keep the count occurrence in the object, so you can set this object in component with object type attribute. <aura:attribute name="xyz" type= 'Object'/> let count = {}; ["Vendor Master","Vendor Master","Customer Master","Customer Master","Customer Master","Customer Master","Material Master","Material Master","Material Master","Vendor Master"]....


1

In Apex class, you can use Use mrecipient.split(','); which will return list<String> and you can future use to send email. Below is the code snippet: @AuraEnabled public static void sendMailMethod(String mbody, String mrecipient) { List < Messaging.SingleEmailMessage > mails = new List < Messaging.SingleEmailMessage > (); System....


1

Put a <div> tag around your entire component and Add SLDS_Size also remove any width tag from style component.


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