We’re kind of in love with the lightning UI and the aura feature (e.force:refreshview) which updated the data on the current lightning page/record/component. We missed the feature in LWC and I saw many using the workaround to use a combination of AURA
Read More
Hi again! This blog post is going to be a different one as I’ll keep updating this post with all the latest findings. In this blog post, I am going to share all the best practices and considerations regarding LWC for not
Read More
This is a very simple scenario where you need to hide/show some div but you can’t use <template if:true> tag. Let’s say you’re using loop. Here we’re discussing 2 approaches if you’re looking for answer to how you can use dynamic hide/show
Read More
This is a pretty common use case where you want to show a simple checkbox to authorize the terms and condition with a URL to your terms of service or privacy url. But using lightning:input or lightning-input, we’re not allowed to add
Read More
As Lightning component is kinda new and I was struggling finding ways to add custom validation on any field (lightning-input specially) and even very little information is available all over internet (yet) and I assume others may be struggling for the same
Read More
Let us discuss here how to use the lightning-record-form . A lightning-record-form component enables you to quickly create forms to add, view, or update a record. Using this component to create record forms is easier than building forms manually with lightning-record-edit-form and lightning-record-view-form. However, lightning-record-form does not support client-side validation quite
Read More
Let’s discuss here how to call the apex class from the Lightning web components. Lightning web components can import methods from Apex classes into the JavaScript classes using ES6 import. Once after importing the apex class method you can able call the apex methods
Read More