KingNii
KingNii
FFilament
Created by KingNii on 10/14/2024 in #❓┊help
Select input not working when searchable is appended
No description
22 replies
FFilament
Created by KingNii on 9/26/2024 in #❓┊help
Help with Wizard layout!!!
No description
5 replies
FFilament
Created by KingNii on 8/22/2024 in #❓┊help
Select form is returning null when I make it searchable
No description
11 replies
FFilament
Created by KingNii on 8/9/2024 in #❓┊help
Fileupload
No description
25 replies
FFilament
Created by KingNii on 8/9/2024 in #❓┊help
Plugin causing Error on VIEW
I'm using Cheesegrits' Geocomplete plugin and when I view a record in panel model, it causes an error. Is there a way to make it conditional or have it work and prefilled like other form inputs?
4 replies
FFilament
Created by KingNii on 8/2/2024 in #❓┊help
Repeater and EditAction error
I have a list of items created from the Repeater Input and saved in DB as a json. When I used the edit action I get and error.
foreach() argument must be of type array|object, string given {"userId":1,"exception":"[object] (ErrorException(code: 0): foreach() argument must be of type array|object, string given at /var/www/html/vendor/filament/forms/src/Components/Repeater.php:783)

Below is how I try to

->beforeFormFilled(function (EditAction $action, Order $record) {
// Runs before the form fields are populated from the database.
// dd(gettype(json_decode($record['items'],true)));
$record['items'] = json_decode($record['items'], true);
})
dd(gettype(json_decode($record['items'])));
$record['items'] = json_decode($record['items'], true);
foreach() argument must be of type array|object, string given {"userId":1,"exception":"[object] (ErrorException(code: 0): foreach() argument must be of type array|object, string given at /var/www/html/vendor/filament/forms/src/Components/Repeater.php:783)

Below is how I try to

->beforeFormFilled(function (EditAction $action, Order $record) {
// Runs before the form fields are populated from the database.
// dd(gettype(json_decode($record['items'],true)));
$record['items'] = json_decode($record['items'], true);
})
dd(gettype(json_decode($record['items'])));
$record['items'] = json_decode($record['items'], true);
9 replies
FFilament
Created by KingNii on 7/26/2024 in #❓┊help
Parent and Child dropdown select
No description
6 replies
FFilament
Created by KingNii on 7/11/2024 in #❓┊help
Route not found
No description
9 replies
FFilament
Created by KingNii on 6/14/2024 in #❓┊help
Make CheckBoxList selected when SELECT field is updated.
I have a select input and a checkboxlist input, I want to use the results of the selected data to fill and check the checkboxlist. HELP!!!
4 replies
FFilament
Created by KingNii on 5/25/2024 in #❓┊help
File Upload
No description
8 replies
FFilament
Created by KingNii on 4/26/2024 in #❓┊help
Filament Charts
No description
7 replies
FFilament
Created by KingNii on 4/13/2024 in #❓┊help
Filament Exporter
I tried exporting files and horizion show that the job was successful but for some reason the file was never downloaded. Can anyone help?
59 replies
FFilament
Created by KingNii on 4/8/2024 in #❓┊help
How to use getFilters in filament charts
Can anyone please direct me on how to implement getFilters to work?

$activeFilter = $this->filter;
protected function getFilters(): ?array
{
return [
'today' => 'Today',
'week' => 'Last week',
'month' => 'Last month',
'year' => 'This year',
];
}

$activeFilter = $this->filter;
protected function getFilters(): ?array
{
return [
'today' => 'Today',
'week' => 'Last week',
'month' => 'Last month',
'year' => 'This year',
];
}
1 replies
FFilament
Created by KingNii on 4/6/2024 in #❓┊help
Set default value for inputs
No description
15 replies
FFilament
Created by KingNii on 3/30/2024 in #❓┊help
FIlament Wizard Layout Submit
No description
3 replies
FFilament
Created by KingNii on 3/1/2024 in #❓┊help
Multiple forms page
No description
22 replies
FFilament
Created by KingNii on 2/23/2024 in #❓┊help
Can I define relationships in TextInputs??
Can I define relationships with TextInputs like I can in TextColumns? TextInput(‘company.name’)? TextColumn(‘company.name’)??
4 replies
FFilament
Created by KingNii on 2/22/2024 in #❓┊help
Getting an error trying to use the table builder
I get this error after adding implements HasTable to my class. I have already added InteractsWithTable and the table method. Know that I have already built multiple tables within the application and I’m now facing this bug. HELP!!! Class App\Livewire\V1\Admin\Delivery\DeliveryIndex contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Filament\Tables\Contracts\HasTable::makeFilamentTranslatableContentDriver)
5 replies
FFilament
Created by KingNii on 2/22/2024 in #❓┊help
Can I get come help with this error?
Class App\Livewire\V1\Admin\Delivery\DeliveryIndex contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Filament\Tables\Contracts\HasTable::makeFilamentTranslatableContentDriver)
3 replies
FFilament
Created by KingNii on 2/17/2024 in #❓┊help
Applying tailwindcss
Can anyone confirm if I can change css of form and table builder elements in filament? Do I have to keep using the colors etc that the elements are shipped?
3 replies