+ Start a Discussion
Phuc Nguyen 18Phuc Nguyen 18 

Error in Callback

Hello All,
I have a callback in a component help that is returning the id of a record from an apex class.
The name.id value is being returned.  I can see the id of the new record.  component.set('v.donor',name.Id)
But it is throwing an error after the record is saved.
Error in $A.getCallback() [Cannot set property 'checked' of null] Callback failed:
I am trying to return the new id to the cmp to enable the lightning:fileUpload button.  Its greyed out and I am assuming it will be enabled once it recognized an id.

How can I get the id from the controller helper js back to the .cmp to enable to the lightning:fileupload button?

Thanks,
P
Best Answer chosen by Phuc Nguyen 18
Phuc Nguyen 18Phuc Nguyen 18
It ended being a typo on my part that casued the error.
Thx

All Answers

Jessica RiffeJessica Riffe
Can you post the code that is failing?
Phuc Nguyen 18Phuc Nguyen 18
It ended being a typo on my part that casued the error.
Thx
This was selected as the best answer