Mack H
Mack H
FFilament
Created by Mack H on 8/21/2024 in #❓┊help
Count slow query
No description
19 replies
FFilament
Created by Mack H on 12/12/2023 in #❓┊help
Delay searches
How can I keep this from happening? It's very annoying for some of my users who type slower.
7 replies
FFilament
Created by Mack H on 10/18/2023 in #❓┊help
RelationManager Page Url Paramater
In version 2 you could navigate to a specific page by using the url parameter page=2 or in my case page=23421, but it doesn't appear to work in v3. I tried to no joy. Who has solved this?
#[Url]
public ?string $page = null;
#[Url]
public ?string $page = null;
11 replies
FFilament
Created by Mack H on 9/27/2023 in #❓┊help
JS Event and Field Listener
I'm working on bringing lazy loading to Filament Select Tree. There is a callback that gives us the expanded groupId, but I'm unsure how to report that back to SelectTree.php which is an Alpine Component. https://github.com/CodeWithDennis/filament-select-tree The changes I have made in my fork are bumping TreeSelectJS to 0.93 and the following in index.js
openCloseGroupCallback: (groupId, isClosed) => {
if (!isClosed) {
console.log(groupId);
}
},
openCloseGroupCallback: (groupId, isClosed) => {
if (!isClosed) {
console.log(groupId);
}
},
Not quite sure how to dispatch an event here and then catch it in SelecTree.php or the view. I just know that needs to be it's next stop 😂
2 replies
FFilament
Created by Mack H on 6/21/2023 in #❓┊help
Elastic Json Table
65 replies
FFilament
Created by Mack H on 4/27/2023 in #❓┊help
isToggledHiddenByDefault not working 2.17.29
16 replies
FFilament
Created by Mack H on 4/14/2023 in #❓┊help
CSV can't validate
When I try to upload a csv file using text/csv it never validates. The temp file has a .txt estension. Any idea?
Forms\Components\FileUpload::make('import_file')
->label('Import CSV')
->disk('local')
->acceptedFileTypes(['text/csv'])
->preserveFilenames(),
Forms\Components\FileUpload::make('import_file')
->label('Import CSV')
->disk('local')
->acceptedFileTypes(['text/csv'])
->preserveFilenames(),
7 replies
FFilament
Created by Mack H on 4/10/2023 in #❓┊help
Unique Slug (2 Columns)
I want to check the slug column and parent_id column. I pulled the old validation ruleset if that helps, but I have no idea how to do this in Filament.
'slug' => 'alpha_dash|unique:ea_series,slug,NULL,id,parent_id,'.$request->parent_id,
'slug' => 'alpha_dash|unique:ea_series,slug,NULL,id,parent_id,'.$request->parent_id,
5 replies
FFilament
Created by Mack H on 4/7/2023 in #❓┊help
3 Similar Columns (Slug or ID)
3 replies