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
How to use namespace in managed lightning components If you are working on a lightning component and it's going to be a part of a managed package then you need to take care of namespace in client side JS code if you are accessing any custom field. This can be handled in various ways but … Continue reading Salesforce Cookies #8
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
If you are using Lightning Experience then you must be waiting for some key features to roll out in LEX as they are very crucial for your business. Salesforce Product Team is working very hard to deliver things asap but it's always very hard to deliver all the features due to time constraint. I came across a … Continue reading Do you want to add HTML Email Status related list in Lightning Experience?
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
A Visualforce component which is very handy in form validation.