Open brain82 opened 7 months ago
The error Unable to call component method. Public method [reverseGeocodeUsing] not found on component is thrown once an address is selected.
Unable to call component method. Public method [reverseGeocodeUsing] not found on component
Geocomplete::make('customer_location_raw') ->live() ->isLocation() ->required() ->prefixIcon('heroicon-o-map-pin') ->label('Customer Address') ->countries(['uk']) ->reverseGeocodeUsing(function (array $results) { ray($results); })
Try putting use InteractsWithMaps; in the resource's create and edit class
use InteractsWithMaps;
The error
Unable to call component method. Public method [reverseGeocodeUsing] not found on component
is thrown once an address is selected.