+ Start a Discussion
Abhiraj DattaAbhiraj Datta 

Do we always have to declare the "required=True" attribute while declaring attribute definition in a Lightning Component?

Kaustubh LabheKaustubh Labhe
No, the default is false. 
Are you getting any error in this regard? 
Abhiraj DattaAbhiraj Datta
While completing a trailhead challenge, I had to use that. So had a confusion like if it is mandatory to give the 'required' attribute. Below is the challenge.