Introduction to lightning web components
If you are looking for an alternative of {!$ObjectType.Account.fields.Name.Label} then this post is the perfect destination for you. In this post, I am going to demonstrate the easiest way of showing field labels dynamically instead of hard-coding them. lightning:input and ui:input doesn’t have a capability to get the label from the field itself like force:inputField […]
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. […]
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 […]
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 […]
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 […]
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. [gist id=0af3738aecb9e7f87b4a7d5779bbe4f5 file=main.app] Same behaviour can be accomplished in Visualforce pages with the help of apex:slds component. Include in a Visualforce page […]
A Visualforce component which is very handy in form validation.