The "attaching objects to window" method that you shared is the correct approach here. The...
Have you set-up the correct broadcastOn channel for TripEvent?. Also, the authorization function of...
No worries, make sure you read my last edit on the previous comment. Glad you managed it in the end....
Replace that with the following and it will work perfectly: public function setPnAttribute($value) {...
Where are you running the "$this->attributes[]" code?
The Laravel portal for problem solving, knowledge sharing and community building.