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

Possible language conflict with filament-shield #5

Closed
mackhankins opened this issue Apr 9, 2023 · 4 comments
Closed

Possible language conflict with filament-shield #5

mackhankins opened this issue Apr 9, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@mackhankins
Copy link

mackhankins commented Apr 9, 2023

Screenshot 2023-04-09 at 2 35 59 PM

https://github.com/bezhanSalleh/filament-shield

These inputs values disappear when I install the package. When I remove it they come back.

@mackhankins
Copy link
Author

I found a bandaid. You can exclude it inside of the config/filament-shield.php. Something is happening when it tries to parse this resource automatically.

    'exclude' => [
        'enabled' => true,

        'pages' => [
            'Dashboard',
        ],

        'widgets' => [
            'AccountWidget', 'FilamentInfoWidget',
        ],

        'resources' => [
            'ResourceLockResource',
        ],
    ],

@Jehizkia
Copy link
Member

Jehizkia commented Apr 11, 2023

Nice catch! I'll look into it. If I can't find a solution I'll add your quick fix to the docs.

@Jehizkia Jehizkia added the bug Something isn't working label Apr 14, 2023
@Jehizkia Jehizkia moved this to Todo in Resource Lock Apr 14, 2023
@MaxBernasconiCodes
Copy link

Yup , having the same issue, tnx for the baindaid there.

I found a bandaid. You can exclude it inside of the config/filament-shield.php. Something is happening when it tries to parse this resource automatically.

    'exclude' => [
        'enabled' => true,

        'pages' => [
            'Dashboard',
        ],

        'widgets' => [
            'AccountWidget', 'FilamentInfoWidget',
        ],

        'resources' => [
            'ResourceLockResource',
        ],
    ],

@Jehizkia
Copy link
Member

Jehizkia commented Jun 7, 2024

Fixed by : #46

@Jehizkia Jehizkia closed this as completed Jun 7, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in Resource Lock Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

3 participants