Nikos Koukos
Nikos Koukos
FFilament
Created by Nikos Koukos on 6/29/2024 in #❓┊help
FIlament Bulk Action inside Livewire Component
I have also tried doing
selectable()
selectable()
on the table and in the Actions to add an Action based on this but i have exactly the same problem when trying to select the rows as i had before
3 replies
FFilament
Created by Nikos Koukos on 4/30/2024 in #❓┊help
Adding a table to a Livewire component
Perfect i needed to add them to the app layout and also to do this
npm install tailwindcss @tailwindcss/forms @tailwindcss/typography postcss postcss-nesting autoprefixer --save-dev
npm install tailwindcss @tailwindcss/forms @tailwindcss/typography postcss postcss-nesting autoprefixer --save-dev
and
import preset from './vendor/filament/support/tailwind.config.preset'

export default {
presets: [preset],
content: [
'./app/Filament/**/*.php',
'./resources/views/filament/**/*.blade.php',
'./vendor/filament/**/*.blade.php',
],
}
import preset from './vendor/filament/support/tailwind.config.preset'

export default {
presets: [preset],
content: [
'./app/Filament/**/*.php',
'./resources/views/filament/**/*.blade.php',
'./vendor/filament/**/*.blade.php',
],
}
Thank you
7 replies
FFilament
Created by Nikos Koukos on 4/30/2024 in #❓┊help
Adding a table to a Livewire component
I have already done
composer require filament/filament:"^3.2" -W

php artisan filament:install --panels
composer require filament/filament:"^3.2" -W

php artisan filament:install --panels
Because i already have an admin panel for my project and i wanted to add a table to the front.
7 replies
FFilament
Created by Nikos Koukos on 4/25/2024 in #❓┊help
RelationManager on View Resource
thank you very much this worked but need the page class as a string not as a class
public static function canViewForRecord(User|Model $ownerRecord, string $pageClass): bool
{
return $pageClass == 'App\Filament\Resources\MyResource\Pages\ViewMyResource';
}
public static function canViewForRecord(User|Model $ownerRecord, string $pageClass): bool
{
return $pageClass == 'App\Filament\Resources\MyResource\Pages\ViewMyResource';
}
9 replies
FFilament
Created by Nikos Koukos on 4/25/2024 in #❓┊help
RelationManager on View Resource
Perfect @ChesterS this was exactly what i wanted thank you, and maybe you also know how to hide it from the Edit Page and Show it only on the View Page?
9 replies