function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
punit tyagi 7punit tyagi 7 

clickCreate: function(component, event, helper) { let validExpense = component.find('expenseform').reduce(function (validSoFar, inputCmp) { // Displays error messages for invalid fields inputCmp.showHelpMessageIfInvalid();

if .cmp file contain three aura id of name of expense name  then please tell me in deep detail ??? 

or what contain validsofar or  inputcmp???
can we print or console the inputcmp?? what they contain

ANUTEJANUTEJ (Salesforce Developers) 
Hi Punit,

Can you elaborate on the scenario you are implementing along with the issues you are facing so as to check further?

Looking forward to your response.

Thanks.