waterflai
waterflai
FFilament
Created by waterflai on 2/9/2025 in #❓┊help
File upload Error in production
No description
6 replies
FFilament
Created by waterflai on 2/3/2025 in #❓┊help
Custom page, custom fill form radio reset after picked
Hi everyone, im trying to make a custom page for pivot tables of scoring, the way it works is i want whenever the radio option is pressed, it store right away to database Im doing it with radiodeck plugin, and i already achieve the storing point right away after picking the radio option, but somehow the radio option wont become selected (refreshed i can say) I wonder whats wrong with my code, this is my score array Scores Retrieved
{"1":16,"2":14,"3":16,"4":20,"5":null,"6":null}
{"1":16,"2":14,"3":16,"4":20,"5":null,"6":null}
and this is my code Scoring.php
13 replies
FFilament
Created by waterflai on 2/3/2025 in #❓┊help
How to Achieve Radio Option Styling
No description
8 replies
FFilament
Created by waterflai on 1/29/2025 in #❓┊help
Fileupload in Single record editing with custom page
im trying to follow this instruction online https://laraveldaily.com/post/filament-edit-only-single-record-custom-page, but the example was only for text input. I try something like fileupload for my case, since the mountng and saving data work around array, i have a problem for fileupload (filepond). instead of saving the filename, it save a weird json (logs on the bottom) and the tmp file are not moved to the storage disk, is there a way to make fileupload in my custom page works like in resource page ? https://pastebin.com/YypB3kbd (the code)
[2025-01-29 18:45:27] local.INFO: EditSchool mount(): School data loaded {"school_id":7527}
[2025-01-29 18:46:09] local.INFO: EditSchool save(): Form data received {"data":{"id":7527,"name":"Drake Mathews","head_master":"Dorothy Munoz","head_master_photo":{"8d3531b5-084c-4110-8b03-f340ef3ae6ac":{"Livewire\\Features\\SupportFileUploads\\TemporaryUploadedFile":"/private/var/folders/0_/q6vx8bs94rz2gsmpn015m9x80000gn/T/phpuibqjc95utj31VnBah3"}},"accompanying_teacher":"Burris and James Trading","accompanying_teacher_photo":{"c6f21f1e-6036-4054-9041-db098ff6f6e6":{"Livewire\\Features\\SupportFileUploads\\TemporaryUploadedFile":"/private/var/folders/0_/q6vx8bs94rz2gsmpn015m9x80000gn/T/phphm8m9ivisdlr9w3Tqru"}},"address":"Cum odit ex omnis su","phone_number":"1901-5646-608","email":"[email protected]","contingent_leader":"Trevor Berger","contingent_leader_photo":{"6be73be6-3abf-45d7-a3cd-ea51dc73e836":{"Livewire\\Features\\SupportFileUploads\\TemporaryUploadedFile":"/private/var/folders/0_/q6vx8bs94rz2gsmpn015m9x80000gn/T/php06duca0965ro3kBNg5R"}},"created_at":"2025-01-29T10:54:31.000000Z","updated_at":"2025-01-29T18:27:34.000000Z","event_id":1}}
[2025-01-29 18:45:27] local.INFO: EditSchool mount(): School data loaded {"school_id":7527}
[2025-01-29 18:46:09] local.INFO: EditSchool save(): Form data received {"data":{"id":7527,"name":"Drake Mathews","head_master":"Dorothy Munoz","head_master_photo":{"8d3531b5-084c-4110-8b03-f340ef3ae6ac":{"Livewire\\Features\\SupportFileUploads\\TemporaryUploadedFile":"/private/var/folders/0_/q6vx8bs94rz2gsmpn015m9x80000gn/T/phpuibqjc95utj31VnBah3"}},"accompanying_teacher":"Burris and James Trading","accompanying_teacher_photo":{"c6f21f1e-6036-4054-9041-db098ff6f6e6":{"Livewire\\Features\\SupportFileUploads\\TemporaryUploadedFile":"/private/var/folders/0_/q6vx8bs94rz2gsmpn015m9x80000gn/T/phphm8m9ivisdlr9w3Tqru"}},"address":"Cum odit ex omnis su","phone_number":"1901-5646-608","email":"[email protected]","contingent_leader":"Trevor Berger","contingent_leader_photo":{"6be73be6-3abf-45d7-a3cd-ea51dc73e836":{"Livewire\\Features\\SupportFileUploads\\TemporaryUploadedFile":"/private/var/folders/0_/q6vx8bs94rz2gsmpn015m9x80000gn/T/php06duca0965ro3kBNg5R"}},"created_at":"2025-01-29T10:54:31.000000Z","updated_at":"2025-01-29T18:27:34.000000Z","event_id":1}}
36 replies