Why is the campinglist JavaScript controller not calling?

Why is the campinglist JavaScript controller not calling?

Challenge Not yet complete… here’s what’s wrong: The campingList JavaScript controller isn’t calling ‘saveItem’ in the Apex class to save the record or setting the ‘item’ as a parameter for the ‘saveItem’ action. The app is really not working as expected, but I can not guess why is that.

Why is campinglist not yet complete error message?

That could explain the error message: “Error: Challenge Not yet complete… here’s what’s wrong: The campingList JavaScript helper isn’t saving the new record to the database or adding it to the ‘items’ value provider.”

Why is the campinglist component not defining a handler?

Challenge Not yet complete… here’s what’s wrong: The campingList component isn’t defining a handler correctly to listen for the addItemEvent event. The handler should listen for an addItemEvent event and then execute the action handleAddItem in the JavaScript controller.

Why does the campinglist not have a checkbox field?

The campingList component doesn’t appear to have a Packed checkbox field in the form using a Lightning Base component. Any help would be greatly appreciated. Thank you so much, I must have been up far to late with tied eyes.

What happens if you don’t have a campinglist account?

Don’t have an account? The campingList JavaScript controller isn’t setting the ‘item’ as a parameter or saving the record correctly.

How to add a packed button to campinglistitem?

Add a button to the campingListItem component that when clicked, marks the item as packed. Add a button labeled Packed! that calls the packItem controller function when clicked. The controller action marks the item attribute as packed, updates the item value provider and disables the button.

How to get getevent in campinglistfprm helper?

You must use getEvent (). campingListFprm Helper – line 3. The variable item is being fed as a parameter, but it doesn’t exist. The variable is brought in through the function, and is newItem.

Why is campinglistitem not setting the’packed’value correctly?

The campingListItem JavaScript controller isn’t setting the ‘Packed’ value correctly. Working the “Handle Actions with Controllers” trailhead module and I’m not getting past the validation. If I put the component in a test jig, I can see the button function and set the check box as expected.

Is the campinglist component using only base Lightning components?

The campingList component appears to be using UI Components instead of Base Lightning Components in the form. You should be using only Base Lightning Components. Yes!! Faced the same issue. Worked for me. I am also experiencing the issue “The campingList component appears to be using UI Components instead of Base Lightning Components in the form.