Pints
Accessing repeater value from outside
Everytime I dd($get('products')), the result is like this: array:1 [▼ // app\Filament\Resources\PurchaseResource.php:316
"04768f37-5be1-45a2-9df3-90b68ede9137" => array:2 [▼
"quantity" => 100
"price" => 100
]
]
12 replies
Livewire Component passing variable to Blade Error
This is my code in AppServiceProvider
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Filament\Support\Facades\FilamentView;
use Illuminate\Contracts\View\View;
use Filament\View\PanelsRenderHook;
use Illuminate\Support\Facades\Blade;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*/
public function register(): void
{
}
/**
* Bootstrap any application services.
*/
public function boot(): void
{
FilamentView::registerRenderHook(
PanelsRenderHook::GLOBAL_SEARCH_BEFORE,
fn (): View => view('livewire.clock'),
);
FilamentView::registerRenderHook(
PanelsRenderHook::BODY_START,
fn (): string => Blade::render('@livewire(\'announcement\')'),
);
}
}
19 replies