Skip to main content
Niraj Singh (NetSutra) 님이 #Lightning Experience에 질문했습니다
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
답변 2개
  1. 2019년 1월 19일 오후 10:18
    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.