iqbalmahatmaputra
Infolist extraAttributes didn't work for tailwindcss
I can't change my color or css using the tailwindCSS class. I have done according to the documentation
https://filamentphp.com/docs/3.x/infolists/installation#installing-tailwind-css
Here is my code
public static function infolist(Infolist $infolist): Infolist
{
return $infolist
->schema([
Section::make([
Grid::make(2)->schema([
ImageEntry::make('course_photo')
->hiddenLabel(),
TextEntry::make('course_name')
->extraAttributes(['class' => 'text-lg text-blue-500 font-bold'])
->hiddenLabel(),
]),
]),
]);
}
16 replies