HeartlandTechie
HeartlandTechie
FFilament
Created by Target on 4/16/2025 in #❓┊help
Filament v3 Custom (AI and OCR) Processing Upload form Component - Worker Processing State Issue
I would probably put a watch for new record event and then send that off to my worker and then have the worker update the record status, like for processed/etc... I think your process is probably taking just long enough that the HTTP request probably never finishes in time to send back the Livewire notice and just leaves it hanging? Can you drop the processor and move it to be an event listener trigger?
5 replies
FFilament
Created by HeartlandTechie on 12/2/2024 in #❓┊help
Page rendering issue
Aha - found it . . . using PHP_EOL to split lines now. That solved it. public static function printer_list() { $result = Process::run('lpstat -e'); $printer_queues = $result->output(); return explode(PHP_EOL,$printer_queues); } public static function job_queue($printer_queue) { $result = Process::run('lpstat '.$printer_queue . ' -W not-completed'); $printer_queues = $result->output(); return explode(PHP_EOL,$printer_queues); }
7 replies
FFilament
Created by HeartlandTechie on 12/2/2024 in #❓┊help
Page rendering issue
No description
7 replies
FFilament
Created by joao nivaldo on 11/18/2024 in #❓┊help
Disable editing in table row
If you still have action buttons, you can just click the action still can't you?
6 replies
FFilament
Created by joao nivaldo on 11/18/2024 in #❓┊help
Disable editing in table row
public static function table(Table $table): Table { return $table ->recordAction(null)
6 replies
FFilament
Created by HeartlandTechie on 10/7/2024 in #❓┊help
Attaching additional information to a RelationManager?
Like this?
->headerActions([ Tables\Actions\AttachAction::make() ->preloadRecordSelect() ->recordTitle(fn (Model $record): string => "{$record->student_number} - {$record->first_name} {$record->last_name} {$record->grade_level} {$record->school->name}") ->recordSelect( fn (Select $select) => $select->placeholder('Student number or name')) ->form(fn (AttachAction $action, $data): array => [ $action->getRecordSelect(), Select::make('school_year')->options(['2024'=>'2024','2025'=>'2025']) ]) ->recordSelectOptionsQuery(fn (Builder $query): Builder => $query->where('grade_level', '>',8)->orderBy('last_name')) ->recordSelectSearchColumns(['student_number','first_name','last_name']), ])
4 replies
FFilament
Created by HeartlandTechie on 10/4/2024 in #❓┊help
RelationManager - how to control what columns display back?
Found it: Tables\Actions\AttachAction::make() ->recordTitle(fn (Model $record): string => "{$record->student_number} {$record->first_name} {$record->last_name}")...
5 replies
FFilament
Created by HeartlandTechie on 10/4/2024 in #❓┊help
RelationManager - how to control what columns display back?
No description
5 replies
FFilament
Created by HeartlandTechie on 9/24/2024 in #❓┊help
Panel heading / info block?
Is there an example of something like that? I just tried to look for something similar on GitHub . . . doesn't seem to be in use much?
5 replies
FFilament
Created by HeartlandTechie on 8/27/2024 in #❓┊help
ExportColumn date format
Is there a specific date example for this? Also (and related) if the export fails . . . the queue never stops running on export . . . it just gives you error messages and ignores the attempts column . . . anyone else hit this?
5 replies
FFilament
Created by RoseRiyadh on 12/13/2023 in #❓┊help
Importer: beforesave() hook check
Did you ever get a response on this one? I'm running into a similar problem. I'm wondering if it's because the importer is running as a service and doesn't have a auth()->user?
3 replies
FFilament
Created by HeartlandTechie on 5/3/2024 in #❓┊help
Notifications Markup not working as expected?
Ultimately - ->body('<b>School:</b>' . $this->schoolname . ' <br><b>Grade Level:</b> ' . $this->grade_level . ' ')
12 replies
FFilament
Created by HeartlandTechie on 5/3/2024 in #❓┊help
Notifications Markup not working as expected?
->body(Str::markdown('__School:__ ' . $this->schoolname . ' __Grade Level:__ ' . $this->grade_level . ' '))
12 replies
FFilament
Created by HeartlandTechie on 5/3/2024 in #❓┊help
Notifications Markup not working as expected?
I tried to append two str:markdowns to isolate this . . . nothing
12 replies
FFilament
Created by HeartlandTechie on 5/3/2024 in #❓┊help
Notifications Markup not working as expected?
Nope . . . not solved . . .
12 replies
FFilament
Created by HeartlandTechie on 5/3/2024 in #❓┊help
Notifications Markup not working as expected?
In further research it appears to be the number causing the problem. If I put a \ before the number it works . . . but \' in the code makes a \5 . . .
12 replies
FFilament
Created by HeartlandTechie on 1/21/2024 in #❓┊help
Person to address - how to keep the address as unique?
I also had an idea that maybe I could add a relationship to match back called "resides with" and it would tie back to the address
6 replies
FFilament
Created by HeartlandTechie on 1/21/2024 in #❓┊help
Person to address - how to keep the address as unique?
that's the thoughts . . . . an address should be distinct, but multiple people can be associated to that address.
6 replies
FFilament
Created by HeartlandTechie on 12/7/2023 in #❓┊help
Odd - create command putting file in wrong directory?
Aha - that was it. Thanks!
5 replies
FFilament
Created by HeartlandTechie on 7/6/2023 in #❓┊help
Route that displays a page with form?
Thank you!
3 replies