function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Niraj Singh 28Niraj Singh 28 

on blur is not working on <lightning:input

Hello,
I have needed to validate input email on blur of text field but i am unable to fire onblur on <lightning:input.
Please read full post before answer and give me appropriate solution.


Thanks & HNY 2019
Daniel Probert 10Daniel Probert 10
should just be onblur="{!c.onblurvalidation}"

dependant on what your validating 

<lightning:input type="email" name="email" value="invalid-email-address" label="Email field with an invalid value" />

this will through an invalid email form automatically as per the documentation but if you are looking to verify against current list of email addresses then the first bit working.

maybe share your component code and controller js that you are firing and any console logs coming out of it that you have put in.
Naveen KNNaveen KN
@Niraj, please try Daniel suggestion and let us know the results. In case if you still face any issues, update here with your code details. 

Naveen