Working with custom validations using lightning:input
Handling Custom Validations using <lightning:input> Hey guys, this post is dedicated to <lightning:input>. Most common issues that we deal while using <lightning:input> is handling custom validation in most efficient way. Although Salesforce does provide some of the validation inbuilt with lightning:input tag but still in project environment we usually come across totally different ball game. So it is important to understand when we should go for ui:input and when to go for lightning:input. Here we will look for handling custom validations using lightning:input tag. So lets gets started !!!! First thing first, here I have created a simple lightning component with 2 input fields using today's showstopper i.e. <lightning:input>. <aura:component controller="ContactController"> <aura:attribute name="obj" type="ContactController.ObjectWrapper[]" /> <aura:handler name="change"