Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Widget Command Livewire Path Solution #15871

Open
wants to merge 2 commits into
base: 3.x
Choose a base branch
from
Open

Conversation

ksaif534
Copy link

Hello.

This is a solution to this Github issue: https://github.com/filamentphp/filament/issues/14637

Description

When the make:filament-widget command is run to create a new widget and the resource is provided and when the user selects [App\Livewire] alongside other Livewire components after selecting Table from the first prompt, a file permission error was thrown and the directory was not being created. The solution now creates a new file TestWidget.php within the app/Livewire directory when it's prompted by the user.

Visual Changes

After the Solution:

widget-command-livewire-solution

Before the Solution:

widget-command-livewire-solution-before

Functional Changes

I've fixed the style with the composer cs command, the file changes have been tested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

1 participant