Adding classes to the builder field via extraAttributes
Does this builder field support adding classes via extraAttributes? I want to give my builder blocks a background color depending on the individual blocks status field.
I've tried giving the blocks a fixed background color but it doesn't seem to work. e.g.
Builder\Block::make('block')
->extraAttributes(['class' => 'bg-red-500'])
1 Reply
It means filament isn't using this class and it needs to be added. Easiest way to create a custom theme