HeartlandTechie
HeartlandTechie
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
FFilament
Created by HeartlandTechie on 3/6/2023 in #❓┊help
Json OrWhere with other Filters ?
I really need to have that portion of the filter be or where with mutiples . . . because they could specify multiple involvement interests - the list should be additive
6 replies
FFilament
Created by HeartlandTechie on 3/6/2023 in #❓┊help
Json OrWhere with other Filters ?
Like this:
select count(*)from businesses where current_status = 'Accepted' and json_search(pathways_interest,'one','ble') and (json_search(involvement_interest,'one','Guest Speaker') or json_search(involvement_interest,'one','Job Shadow'))
6 replies
FFilament
Created by HeartlandTechie on 3/6/2023 in #❓┊help
Json OrWhere with other Filters ?
The issue isn’t the json, it is adding additional filters not related to that column and selecting multiple potential json values.
6 replies