Devsome
Devsome
FFilament
Created by Devsome on 4/11/2025 in #❓┊help
ToggleColumn
Hello everyone, I have currently tried to ToggleColumn with a relation to the user (so that each user can activate / deactivate certain scripts) The relation is correct so far, unfortunately I had to add the value "used" in the main table "delete_reason". Although I have the link of “delete_reason” and ‘user’ in the table “delete_reason_users”. According to the tutorial and ChatGPT I have already tried a custom view, unfortunately I did not manage to send the action “checkbox” from the blade view with the livewire component (although I created it). Is there somehow a workarount without having the “used” in the table, because the link is in the relation table.
5 replies
FFilament
Created by Devsome on 3/30/2025 in #❓┊help
tailwind v3, vite.config - strange behavior
Hello, before I created this post, I tried to find some things via Discord search here and via the documentation, unfortunately not really successful. This is what my tailwind.config.js looks like:
import preset from './vendor/filament/support/tailwind.config.preset'

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

export default {
presets: [preset],
content: [
'./resources/views/**/*.blade.php',
'./resources/**/*.blade.php',
'./app/Filament/**/*.php',
'./resources/views/filament/**/*.blade.php',
'./vendor/filament/**/*.blade.php',
],
theme: {},
}
I'm trying to use this in a custom page: https://play.tailwindcss.com/wmjhmlEcKc Custom Page:
<?php

namespace App\Filament\Pages;

use Filament\Pages\Page;

class Install extends Page
{
protected static ?string $navigationIcon = 'heroicon-o-document-text';

protected static string $view = 'filament.pages.install';

protected static bool $shouldRegisterNavigation = false;
}
<?php

namespace App\Filament\Pages;

use Filament\Pages\Page;

class Install extends Page
{
protected static ?string $navigationIcon = 'heroicon-o-document-text';

protected static string $view = 'filament.pages.install';

protected static bool $shouldRegisterNavigation = false;
}
And under resources/views/filament/pages/install.blade.php is my blade file with the HTML (above from the play.tailwindcss) Unfortunately, it is not finished as it should be. Why? I have also tried to use FilamentAsset::register in a ServiceProvider and a custom css with tailwindcssv3 and, unfortunately, this doesn't really work either.
12 replies