2 respuestas
Hi Shruthi,Greetings to you.You need to create the attribute with name newSchool Attributes on components are like instance variables in objects. They’re a way to save values that change, and a way to name those value placeholders. Use this line of code in component:
Here, Registration_Form__c is sObject name. Replace it with your sObject name.I hope it helps you.Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future.<aura:attribute name="newSchool" type="Registration_Form__c" default="{'sobjectType' : 'Registration_Form__c'}"/>
Thanks and Regards,
Khan Anas