Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Salesforce
  3. Question
Salesforce

How can I know about the lightning messages option?

Asked by David Edmunds Feb 27, 2023 729 views 1 answer
Share

About this question

 I found lightning:messages in trailhead and want to use it in my component, but I couldn't find it in the Lightning Component Library.


How can I know its description?

This is my sample.

 
buttonClick:function(component,event,helper){ 
let err = {
            "errors": "ERROR!"
           };
            component.find('myMessage').setError(err['errors']);
}
I wish I could set some other options.

Added image of what I need, it's an Attribute of lightning:input.

If lightning:messages have options like this, I want to know them.


Your answer

1 Answer

More Salesforce discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Salesforce Blogs

Guides, tips and career advice on Salesforce from JanBask experts.