+ Start a Discussion
Sergey Makarov (SM)Sergey Makarov (SM) 

Superbadge Lightning Web Components Specialist - Challenge 4

Getting this error:
Challenge Not yet complete... here's what's wrong:
We can’t find the required imports in the component boatSearchForm controller. Check that the component was created according to the requirements, including the imports from Lightning Web Components.

Here is my imports:
import { LightningElement, wire } from 'lwc';
import getBoatTypes from '@salesforce/apex/BoatDataService.getBoatTypes';
component works fine on my test page, not sure what am I missing

Sergey Makarov (SM)Sergey Makarov (SM)
apparently I needed to import track as well to use with searchOptions
// Needs explicit track due to nested data
    @track searchOptions;

AbhishekAbhishek (Salesforce Developers) 

For all the Trailhead issues please report it here,



So that our trailhead support engineers will look into it and get back to you.

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

​​​​​​​Salesforce Support.