Javascript in custom Widget

how can i use javascript in filament custom widget view page:
<x-filament-widgets::widget>

<x-filament::section>
<div>{{ $this->studentInfolist }}</div>

</x-filament::section>
</x-filament-widgets::widget>
<x-filament-widgets::widget>

<x-filament::section>
<div>{{ $this->studentInfolist }}</div>

</x-filament::section>
</x-filament-widgets::widget>
Solution:
found the solution: protected static bool $isLazy = false;...
Jump to solution
1 Reply
Solution
Hussain4real
Hussain4real6mo ago
found the solution: protected static bool $isLazy = false;