Skip to content

enabled() default value #55

@altayevrim

Description

@altayevrim

Hi,
Before the updates probably when we made enabled() call, it was enabling the plugin right away but now it does not, I spend 15-20 minutes trying to figure that out after composer update 😂

Normally I was including your plugin with this;

->plugins(array_merge(app()->isLocal() ? [EnvironmentIndicatorPlugin::make(), FilamentDeveloperLoginsPlugin::make()->enabled()->users(fn() => User::pluck('email', 'name')->toArray())] : [],
            [

            ]))

but now I have to

->plugins(array_merge(app()->isLocal() ? [EnvironmentIndicatorPlugin::make(), FilamentDeveloperLoginsPlugin::make()->enabled(true)->users(fn() => User::pluck('email', 'name')->toArray())] : [],
            [

            ]))

Not a big issue but wanted to let you know :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions