Activity Forums Salesforce® Discussions Difference between OnBlur & OnError in Lightning Component in Salesforce?

  • Difference between OnBlur & OnError in Lightning Component in Salesforce?

    Posted by Deepak on February 17, 2020 at 3:14 pm

    Difference between OnBlur & OnError in Lightning Component in Salesforce?

    Aditya replied 4 years, 10 months ago 2 Members · 1 Reply
  • 1 Reply
  • Aditya

    Member
    February 17, 2020 at 4:08 pm

    Hi Deepak,

    OnBlur: It is an event in Salesforce Lightning component. It shows Blur on performing any event.

    OnError: In this component, the onerror attribute of lightning:container specifies handleError as the error handling method. To display the error, the component markup uses a conditional statement, and another attribute, error, for holding an error message

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos