BlackShadow
BlackShadow
FFilament
Created by BlackShadow on 4/15/2024 in #❓┊help
Import PEST Tests
Couldn't find any examples in the docs. Does anyone have some examples I can check out? https://filamentphp.com/docs/3.x/actions/prebuilt-actions/import
2 replies
FFilament
Created by BlackShadow on 3/11/2024 in #❓┊help
Get all the table columns from a resource
Would there be way to get all the columns from a resource?
22 replies
FFilament
Created by BlackShadow on 2/26/2024 in #❓┊help
Select field with relationship, does it need validation?
Forms\Components\Select::make('profile_branch_id')
->relationship('branch', 'branch_number', function (Builder $query) {
$query->where('profile_id', $this->ownerRecord->getKey());
})
->exists('profile_branches', 'id', function (Exists $rule) {
$rule->where('profile_id', $this->ownerRecord->getKey());
}),
Forms\Components\Select::make('profile_branch_id')
->relationship('branch', 'branch_number', function (Builder $query) {
$query->where('profile_id', $this->ownerRecord->getKey());
})
->exists('profile_branches', 'id', function (Exists $rule) {
$rule->where('profile_id', $this->ownerRecord->getKey());
}),
When creating a select field with relationship options do i need to validate that the selected option is actually in the list of available options or does the component check this already?
7 replies
FFilament
Created by BlackShadow on 1/25/2024 in #❓┊help
Placeholder on relational table columns
Tables\Columns\TextColumn::make('quoteRequest.phone_number')
->label(__('Phone number'))
->toggleable()
->sortable()
->searchable()
->placeholder('-'),
Tables\Columns\TextColumn::make('quoteRequest.phone_number')
->label(__('Phone number'))
->toggleable()
->sortable()
->searchable()
->placeholder('-'),
Setting a placeholder on a relational column (or globally) isn't working properly for me, anyone can confirm?
3 replies
FFilament
Created by BlackShadow on 1/25/2024 in #❓┊help
Login page for 2 panels (Tenancy and normal)
I need to have 1 login page for the tenancy (customers) panel and the normal (main) panel how can this be done?
3 replies
FFilament
Created by BlackShadow on 1/12/2024 in #❓┊help
Plugin skeleton npm build
Error: Failed to find '../../vendor/filament/filament/resources/css/theme.css'
Error: Cannot find module './vendor/filament/filament/tailwind.config.preset'
Error: Failed to find '../../vendor/filament/filament/resources/css/theme.css'
Error: Cannot find module './vendor/filament/filament/tailwind.config.preset'
26 replies
FFilament
Created by BlackShadow on 1/9/2024 in #❓┊help
Badge on sub-navigation
Is it possible to create a badge with a relation count of the ownerRecord() on the new sub navigation menu?
5 replies
FFilament
Created by BlackShadow on 1/5/2024 in #❓┊help
Translations sub-navigation pages
No description
19 replies
FFilament
Created by BlackShadow on 12/14/2023 in #❓┊help
Form filters for widgets
Typed property Filament\Widgets\TableWidget::$table must not be accessed before initialization
11 replies
FFilament
Created by BlackShadow on 12/1/2023 in #❓┊help
ImportAction queue
When using the sync queue driver it will work. But the database queue driver always fails:
2023-12-01 14:34:06 Filament\Actions\Imports\Jobs\ImportCsv .......................................................................... RUNNING
2023-12-01 14:34:06 Filament\Actions\Imports\Jobs\ImportCsv ..................................................................... 26.03ms FAIL
2023-12-01 14:34:06 Filament\Actions\Imports\Jobs\ImportCsv .......................................................................... RUNNING
2023-12-01 14:34:06 Filament\Actions\Imports\Jobs\ImportCsv ...................................................................... 6.08ms FAIL
2023-12-01 14:34:06 Filament\Actions\Imports\Jobs\ImportCsv .......................................................................... RUNNING
2023-12-01 14:34:06 Filament\Actions\Imports\Jobs\ImportCsv ..................................................................... 18.26ms FAIL
2023-12-01 14:34:06 Filament\Actions\Imports\Jobs\ImportCsv .......................................................................... RUNNING
2023-12-01 14:34:06 Filament\Actions\Imports\Jobs\ImportCsv ..................................................................... 26.03ms FAIL
2023-12-01 14:34:06 Filament\Actions\Imports\Jobs\ImportCsv .......................................................................... RUNNING
2023-12-01 14:34:06 Filament\Actions\Imports\Jobs\ImportCsv ...................................................................... 6.08ms FAIL
2023-12-01 14:34:06 Filament\Actions\Imports\Jobs\ImportCsv .......................................................................... RUNNING
2023-12-01 14:34:06 Filament\Actions\Imports\Jobs\ImportCsv ..................................................................... 18.26ms FAIL
7 replies
FFilament
Created by BlackShadow on 11/29/2023 in #❓┊help
Upload disk based on configuration
Disk based on config settings
3 replies
FFilament
Created by BlackShadow on 11/22/2023 in #❓┊help
Refresh Form after suffix action
I want to refresh the form after a suffix action has been fired.
4 replies
FFilament
Created by BlackShadow on 11/3/2023 in #❓┊help
Chart scales ticks
Setup a callback
13 replies
FFilament
Created by BlackShadow on 11/2/2023 in #❓┊help
Filter reset button position
No description
6 replies
FFilament
Created by BlackShadow on 11/2/2023 in #❓┊help
Toggle columns grid
Just like filtersFormColumns(3) i want to set the grid of the toggleable columns menu to 3.
2 replies
FFilament
Created by BlackShadow on 9/14/2023 in #❓┊help
Field plugin depending on other field
I'm currently working on a plugin for a SelectTree, and I wanted to check if it could rely on other fields, but it seems to vanish.
11 replies
FFilament
Created by BlackShadow on 9/8/2023 in #❓┊help
Custom validation with HTML
Is it possible to use links in validation?
18 replies
FFilament
Created by BlackShadow on 9/4/2023 in #❓┊help
Disable browser filled fields
No description
6 replies
FFilament
Created by BlackShadow on 8/30/2023 in #❓┊help
FileUpload
Uploading a CSV file turns it into a txt file.
2 replies
FFilament
Created by BlackShadow on 8/28/2023 in #❓┊help
Private images
Not displaying on table
9 replies