You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the blade can access the public property of the livewire component without having to specify it as a parameter for "view" helper in the "render" method? like so
public $foo = 'bar';
public function render()
{
return view('custom-livewire');
}
in blade
{{ $foo }}
Too many like this for each livewire component
Line app/Http/Requests/Requests/Livewire/View/ActionsLivewire.php
29 Variable $foo might not be defined.
29 Variable $foo might not be defined.
29 Variable $foo might not be defined.
29 Variable $foo might not be defined.
29 Variable $foo might not be defined.
29 Variable $foo might not be defined.
The text was updated successfully, but these errors were encountered:
On that note I would also suggest that you use $this->view() rather then view() or the context will be unclear since it will be using reflection to detect and copy the properties.
the blade can access the public property of the livewire component without having to specify it as a parameter for "view" helper in the "render" method? like so
in blade
{{ $foo }}
Too many like this for each livewire component
Line app/Http/Requests/Requests/Livewire/View/ActionsLivewire.php
29 Variable $foo might not be defined.
29 Variable $foo might not be defined.
29 Variable $foo might not be defined.
29 Variable $foo might not be defined.
29 Variable $foo might not be defined.
29 Variable $foo might not be defined.
The text was updated successfully, but these errors were encountered: