-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
I tried to install and work with this package and it throws a lot of errors.
inside the model (services_relation.php)
protected $fillable = ['am_cat_id','service_category'];
Problem 1:
The template wont work as its trying to render
public function render()
{
$model = Model::where('am_cat_id', 'like', '%'.$this->search.'%')->orWhere('service_category', 'like', '%'.$this->search.'%')->latest()->paginate($this->paginate);
return view('livewire.services-relation', [
'rows'=> $model
]);
}
Which I fixed with
public function render()
{
$model = Model::where('am_cat_id', 'like', '%'.$this->search.'%')->orWhere('service_category', 'like', '%'.$this->search.'%')->latest()->paginate($this->paginate);
return view('livewire.services_relation', [
'rows'=> $model
]);
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels