Skip to content

Commit

Permalink
Update phone-input.blade.php
Browse files Browse the repository at this point in the history
fix: add missing import for Laravel's Js class to resolve error

The blade view for the filament-phone-input plugin was missing an import for the `Illuminate\Support\Js` class, which caused a `Class "Js" not found` error during rendering. This commit adds the required `use Illuminate\Support\Js;` statement to the view.

This fixes the issue reported in #59.
  • Loading branch information
elegasoft authored Dec 17, 2024
1 parent fcf2480 commit d8bd54a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/views/phone-input.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@php
use Filament\Support\Facades\FilamentView;
use Illuminate\Support\Js;
$hasInlineLabel = $hasInlineLabel();
$id = $getId();
Expand Down

0 comments on commit d8bd54a

Please sign in to comment.