Zod
Zod
FFilament
Created by Zod on 5/14/2024 in #❓┊help
Why is my CSV Importer reading my CSV deformatted?
No description
11 replies
FFilament
Created by Zod on 5/14/2024 in #❓┊help
Why is my CSV Importer reading my CSV deformatted?
Any ideas?
11 replies
FFilament
Created by Zod on 5/14/2024 in #❓┊help
Why is my CSV Importer reading my CSV deformatted?
In what function can I write code on the imported file?
11 replies
FFilament
Created by Zod on 5/14/2024 in #❓┊help
Why is my CSV Importer reading my CSV deformatted?
Is there anyway to still use CSV's not saved as UTF8? It's an export from a system I can't change anything in.
11 replies
FFilament
Created by Zod on 5/3/2024 in #❓┊help
How can I add fields to / extend a resource from a plugin
Thanks mate
18 replies
FFilament
Created by Zod on 5/3/2024 in #❓┊help
How can I add fields to / extend a resource from a plugin
I made them, now it works!
18 replies
FFilament
Created by Zod on 5/3/2024 in #❓┊help
How can I add fields to / extend a resource from a plugin
No, I don't. Only for the one that is getting extended
18 replies
FFilament
Created by Zod on 5/3/2024 in #❓┊help
How can I add fields to / extend a resource from a plugin
Should it work like this you think?
18 replies
FFilament
Created by Zod on 5/3/2024 in #❓┊help
How can I add fields to / extend a resource from a plugin
The CompanyResource is actually extending ResourcesCompanyResource
18 replies
FFilament
Created by Zod on 5/3/2024 in #❓┊help
How can I add fields to / extend a resource from a plugin
Im trying to make Information2 overwrite Information but its still showing Information
18 replies
FFilament
Created by Zod on 5/3/2024 in #❓┊help
How can I add fields to / extend a resource from a plugin
Trying it with static:: but no luck unfortunally class ResourceCompanyResource extends Resource { public static function form(Form $form): Form { return $form ->schema(static::getFormSchema())->columns(1); } public static function getFormSchema(): array { return [ Tabs::make() ->tabs([ Tab::make('Information') ->schema(static::getInformationTabSchema()), Tab::make('Invoice') ->schema(static::getInvoiceTabSchema()), Tab::make('Financial') ->schema(static::getFinancialTabSchema()) ]) ]; } } class CompanyResource extends ResourcesCompanyResource { public static function getFormSchema(): array { return [ Tabs::make() ->tabs([ Tab::make('Information2') ->schema(static::getInformationTabSchema()), Tab::make('Invoice') ->schema(static::getInvoiceTabSchema()), Tab::make('Financial') ->schema(static::getFinancialTabSchema()) ]) ]; } }
18 replies
FFilament
Created by Zod on 5/3/2024 in #❓┊help
How can I add fields to / extend a resource from a plugin
I thought static functions could not be extended?
18 replies
FFilament
Created by Zod on 5/3/2024 in #❓┊help
How can I add fields to / extend a resource from a plugin
Do you have an example? I am having trouble firing a non static getFormSchema in the static form function.
18 replies
FFilament
Created by Zod on 5/3/2024 in #❓┊help
How can I add fields to / extend a resource from a plugin
I am not sure what you mean by providing the option by the plugin, is there an option which alows extending? It's a module/plugin (the resource) we are using in multiple projects. But in one project we need 1 extra field for that resource. So I need to add it in the project but not in the module. So I extended the moduled resource and made the project use the custom one that extended the module. Here I would like to overwrite the form function or add the field.
18 replies
FFilament
Created by Zod on 5/3/2024 in #❓┊help
How can I add fields to / extend a resource from a plugin
Thanks! How do I provide this option?
18 replies
FFilament
Created by Zod on 4/23/2024 in #❓┊help
Is it possible to use XLS for import action with an importer?
Thanks
6 replies
FFilament
Created by Zod on 4/23/2024 in #❓┊help
Is it possible to use XLS for import action with an importer?
It should be done inside the project. Clients requirement to import xls... 😦
6 replies
FFilament
Created by Zod on 4/10/2024 in #❓┊help
Custom modal inside repeater
->action(function ($data, Set $set, Get $get) { $currentState = $get('goods') ?? []; $result = array_merge($currentState, [$data]); $set('goods', $result); });
20 replies
FFilament
Created by Zod on 4/10/2024 in #❓┊help
Custom modal inside repeater
I have built it with Get and Set now and it works
20 replies
FFilament
Created by Zod on 4/10/2024 in #❓┊help
Custom modal inside repeater
Unresolvable dependency resolving [Parameter #0 [ <required> string $name ]] in class Filament\Forms\Components\Field
20 replies