Salesforce Cookies #12

How to remove the arrows from lightning:input[type="number"]? I think this is a generic question and Salesforce devs have looked for the ways to get rid of the spin buttons on the input field without changing it to text type for a purely numeric behaviour. You just need a few lines of CSS to solve your problem. … Continue reading Salesforce Cookies #12

Salesforce Cookies #7

Calling a child lightning component method from the parent lightning component When we have multiple nested components then we may run into a scenario in which our parent lightning component is supposed to call a method of its child component. This is a very common use case. simplifies the code needed for a parent component … Continue reading Salesforce Cookies #7

Salesforce Cookies #2

Now using Lightning Design System in Lightning Application is easier - No static resource is required to include CSS files. An application automatically gets Lightning Design System styles and design tokens if it extends force:slds. Same behaviour can be accomplished in Visualforce pages with the help of apex:slds component. Include <apex:slds /> in a Visualforce page to use Lightning … Continue reading Salesforce Cookies #2