I can't select the first index. I've been banging my head for hours.
Reference 1: https://www.youtube.com/watch?v=Bcb_A9Sk78s
Reference 2: https://github.com/andrewdwallo/erpsaas/blob/2.x/app/Filament/Company/Pages/Setting/Appearance.php
Filament Daily
YouTube
Filament Select with HTML Inside: Color and Font Pickers
Example from an open-source ERP SaaS.
Source: https://github.com/andrewdwallo/erpsaas/blob/2.x/app/Filament/Company/Pages/Setting/Appearance.php
GitHub
erpsaas/app/Filament/Company/Pages/Setting/Appearance.php at 2.x · ...
A Laravel and Filament-powered accounting platform, crafting a modern and automated solution for financial management. - andrewdwallo/erpsaas
3 Replies
maybe you can add ->default(CarColor::first()->id) ??
what if you make the 1st index as a placeholder instead?
my solutions