MichaelMdp
MichaelMdp
FFilament
Created by MichaelMdp on 10/6/2023 in #❓┊help
Defaultsort / column sorting
8 replies
FFilament
Created by MichaelMdp on 11/13/2023 in #❓┊help
Form relation fields of same relation in different groups/Fieldset
We have an intro section with mostly fields related to the relation and then a details section with fields from the record + the relation ... or that was the vision, guess I'll have to move the fields
11 replies
FFilament
Created by MichaelMdp on 11/13/2023 in #❓┊help
Form relation fields of same relation in different groups/Fieldset
I don't think the vision of our project is relevant, just want to know if this is a technical limitation.
11 replies
FFilament
Created by MichaelMdp on 11/13/2023 in #❓┊help
Form relation fields of same relation in different groups/Fieldset
That is the whole point, I need to visualise the fields in different places of the form
11 replies
FFilament
Created by MichaelMdp on 9/26/2023 in #❓┊help
Form Select with options(MyEnum::class) and multiple() has livewire error when removing a value.
19 replies
FFilament
Created by MichaelMdp on 9/26/2023 in #❓┊help
Form Select with options(MyEnum::class) and multiple() has livewire error when removing a value.
I can setup a repro If you like, or report in github ?
19 replies
FFilament
Created by MichaelMdp on 9/26/2023 in #❓┊help
Form Select with options(MyEnum::class) and multiple() has livewire error when removing a value.
upgrading doesn't help
19 replies
FFilament
Created by MichaelMdp on 9/26/2023 in #❓┊help
Form Select with options(MyEnum::class) and multiple() has livewire error when removing a value.
this used to work in v2
19 replies
FFilament
Created by MichaelMdp on 9/26/2023 in #❓┊help
Form Select with options(MyEnum::class) and multiple() has livewire error when removing a value.
I'm in the middle of upgrade an existing project, so should all be relative up-to-date
19 replies
FFilament
Created by MichaelMdp on 9/26/2023 in #❓┊help
Form Select with options(MyEnum::class) and multiple() has livewire error when removing a value.
Environment ........................................................
Application Name ........................................... Laravel
Laravel Version ............................................ 10.24.0
PHP Version ................................................. 8.1.16
Composer Version ............................................. 2.5.8
Environment .................................................. local
Debug Mode ................................................. ENABLED
URL ....................................... tracoa-upgrade.ddev.site
Maintenance Mode ............................................... OFF

Filament ...........................................................
Packages ........... filament, forms, notifications, support, tables
Version .................................................... v3.0.59
Views ................................................ NOT PUBLISHED

Livewire ...........................................................
Livewire .................................................... v3.0.5
Environment ........................................................
Application Name ........................................... Laravel
Laravel Version ............................................ 10.24.0
PHP Version ................................................. 8.1.16
Composer Version ............................................. 2.5.8
Environment .................................................. local
Debug Mode ................................................. ENABLED
URL ....................................... tracoa-upgrade.ddev.site
Maintenance Mode ............................................... OFF

Filament ...........................................................
Packages ........... filament, forms, notifications, support, tables
Version .................................................... v3.0.59
Views ................................................ NOT PUBLISHED

Livewire ...........................................................
Livewire .................................................... v3.0.5
19 replies
FFilament
Created by MichaelMdp on 9/26/2023 in #❓┊help
Form Select with options(MyEnum::class) and multiple() has livewire error when removing a value.
the select is flagged as multiple(), so I can 'remove' stuff from the select.
19 replies
FFilament
Created by MichaelMdp on 9/26/2023 in #❓┊help
Form Select with options(MyEnum::class) and multiple() has livewire error when removing a value.
This is the enum:
use Filament\Support\Contracts\HasLabel;

enum UserRoles: string implements HasLabel
{
case SuperAdmin = 'super_admin';
case Admin = 'admin';
case BackendUser = 'backend_user';

public function getLabel(): ?string
{
return match ($this) {
self::SuperAdmin => 'super admin',
self::Admin => 'admin',
self::BackendUser => 'backend user',
};
}
}
use Filament\Support\Contracts\HasLabel;

enum UserRoles: string implements HasLabel
{
case SuperAdmin = 'super_admin';
case Admin = 'admin';
case BackendUser = 'backend_user';

public function getLabel(): ?string
{
return match ($this) {
self::SuperAdmin => 'super admin',
self::Admin => 'admin',
self::BackendUser => 'backend user',
};
}
}
19 replies
FFilament
Created by _.shapeshifter on 5/5/2023 in #❓┊help
Laravel Resource JS
I solved it this way, now I have a file where I can add modules used by my custom filament stuff:

Filament::registerRenderHook(
'scripts.end',
function () {
return '<script src="' . Vite::asset('resources/js/filament-extra-modules.js') . '" type="module"></script>';
}
);

Filament::registerRenderHook(
'scripts.end',
function () {
return '<script src="' . Vite::asset('resources/js/filament-extra-modules.js') . '" type="module"></script>';
}
);
26 replies