Zod
Zod
FFilament
Created by Zod on 5/14/2024 in #❓┊help
Why is my CSV Importer reading my CSV deformatted?
I am importing a CSV and my CSV importer is reading the headings deformatted. Some headings that I need are: Issuer_nr, Authority_nr and Kaart serie nummer. Those are being read as: ÿþI�s�s�u�e�r� �N�r� �A�u�t�h�o�r�i�t�y� �N�r� �K�a�a�r�t� �s�e�r�i�e� �n�u�m�m�e�r� When I open the CSV in a code editor it just normally shows the headings as they should be: Issuer Nr;Authority Nr;Kaart serie nummer; When I export the CSV to CSV with numbers it does read the headings normally in the importer. Any ideas?
11 replies
FFilament
Created by Zod on 5/3/2024 in #❓┊help
How can I add fields to / extend a resource from a plugin
I want to add a form field to an existing module/plugin we are using. I already tried extending the class and overwriting the form method but thats not working. Any idea how this could be done?
18 replies
FFilament
Created by Zod on 4/30/2024 in #❓┊help
How can I make a mailable in a Filament plugin?
I am trying to make a mailable in a new custom Filament plugin but when I use it it gives the following error: Target class [Spatie\LaravelIgnition\ContextProviders\ComponentRegistry] does not exist. I am trying to debug and I can dd as far as the attachments function, before the return in the function it works and after the return it gives the error. Also when remove the whole attachments it also gives the error. I have no clue as this debugging is not making sense.
1 replies
FFilament
Created by Zod on 4/23/2024 in #❓┊help
Is it possible to use XLS for import action with an importer?
Is this possible or is there a way I can quickly get the rows of an XLS in my project (importer)? Maybe a quick convert option from xls to csv?
6 replies
FFilament
Created by Zod on 4/12/2024 in #❓┊help
Next step with pressing enter instead of submitting.
I have a Wizzard with several steps. When I press enter inside the wizzard it submits the whole thing. I want to be able to go to the next step with pressing enter. How do I do this?
2 replies
FFilament
Created by Zod on 4/10/2024 in #❓┊help
Custom modal inside repeater
Is it possible to open a modal when adding a new row to a repeater with input fields and populate the repeater row fields with data from the modal?
20 replies
FFilament
Created by Zod on 2/26/2024 in #❓┊help
How do I mutateFormDataBeforeFill for a relation edit?
I have relationship manager but the function is not working there..
15 replies
FFilament
Created by Zod on 2/24/2024 in #❓┊help
Action modal is not showing
I have the following code in my table: Action::make('review') ->label('Review') ->modalContent(function (Company $company) { return view( 'filament.resources.company-resource.pages.review-company', compact('company') ); }) In the blade I have the following: <x-filament-panels::page> <h2 class="text-xl font-bold">Review Company</h2> <div> <h3 class="font-bold">Company Information</h3> <p>Name: {{ $company->name }}</p> </div> </x-filament-panels::page> This will not open the modal, only when I write code that gives an error in the blade, it shows the error in the modal when I click review. It gives the following error in the console with the code above: Uncaught (in promise) Snapshot missing on Livewire component with id: XXXXXXXXXXX
2 replies
FFilament
Created by Zod on 1/15/2024 in #❓┊help
How do I load a model function before viewing the record?
I am viewing a record but I want to mutate the data with a function that is defined in my model. How do I do this?
16 replies