Arthur Pen
Arthur Pen
FFilament
Created by Arthur Pen on 4/5/2025 in #❓┊help
Login issues
Using the shield plugin. Must be something simple but I'm stuck. In my seeder I have:
$user = User::factory()->create([
'name' => 'Admin User',
'email' => 'admin@test.com',
'password' => bcrypt('test'),
]);

$user->assignRole('super_admin');

$testuser = User::factory()->create([
'name' => 'Test User',
'email' => 'test@test.com',
'password' => bcrypt('test'),
]);

$testuser->assignRole('Engineer');
$user = User::factory()->create([
'name' => 'Admin User',
'email' => 'admin@test.com',
'password' => bcrypt('test'),
]);

$user->assignRole('super_admin');

$testuser = User::factory()->create([
'name' => 'Test User',
'email' => 'test@test.com',
'password' => bcrypt('test'),
]);

$testuser->assignRole('Engineer');
Logging in with admin@test.com works, logging in with test@test.com IO get "These credentials do not match our records." Any suggestions?
8 replies
FFilament
Created by Arthur Pen on 3/14/2025 in #❓┊help
Help with custom page and progress bars
Hi, I have created a custom page which I am using to import data into the database. I was hoping to display a progress bar for each table so I can show import progress as I load each table. I'm really struggling to create a progress bar that actually works with the limited css available. I've tried: <div class="h-3 relative max-w-xl rounded-full overflow-hidden"> <div class="w-full h-full bg-gray-200 absolute"></div> <div class="w-1/2 h-full bg-green-500 absolute"></div> </div> The lack of width classes is really limiting my ability to create somthing that works. I'm not sure how I can get all the other tailwind properties to work so I could use for example w-1/12 through to w-11/12 to show.
Apologies if this is a dumb question I've done a lot of searching and not found an answer
1 replies