You need to sign in to do that
Don't have an account?
Naeem T-Pearson
super badge component framework specialist challenge 8
getting this error
Challenge Not yet complete... here's what's wrong:
The BoatReviews component doesn't have an event handler registered with aura:handler that reloads data from Apex any time the value of the component’s boat attribute is changed.
do i need more than this
<aura:handler name="init" value="{!this}" action="{!c.doInit}" />
<aura:method name="refresh" action="{!c.doInit}" />
<aura:handler event="c:BoatSelected" action="{!c.onBoatSelected}"/>
onBoatSelected : function(component, event, helper) {
var boat = event.getParam("boat");
//console.log("----->"+boat)
component.set("v.boat",boat);
Challenge Not yet complete... here's what's wrong:
The BoatReviews component doesn't have an event handler registered with aura:handler that reloads data from Apex any time the value of the component’s boat attribute is changed.
do i need more than this
<aura:handler name="init" value="{!this}" action="{!c.doInit}" />
<aura:method name="refresh" action="{!c.doInit}" />
<aura:handler event="c:BoatSelected" action="{!c.onBoatSelected}"/>
onBoatSelected : function(component, event, helper) {
var boat = event.getParam("boat");
//console.log("----->"+boat)
component.set("v.boat",boat);
Sorry for this issue you are facing.
May I suggest you please refer to below link with a similar discussion which might help you.
- https://developer.salesforce.com/forums/?id=9060G0000005PSkQAM
Hope this helps.Kindly mark this as solved if the reply was helpful.
Thanks,
Nagendra
All Answers
Sorry for this issue you are facing.
May I suggest you please refer to below link with a similar discussion which might help you.
- https://developer.salesforce.com/forums/?id=9060G0000005PSkQAM
Hope this helps.Kindly mark this as solved if the reply was helpful.
Thanks,
Nagendra