BKF Dev
Table recordClasses dark mode
Hello,
This piece of code works fine in default mode, but in dark no change (text-color, bg) !
->recordClasses(fn (Model $record) => match ($record->status) {
QuotationStatusEnum::DRAFT => '!opacity-30',
QuotationStatusEnum::CONFIRMED => '!border-l-4 !border-l-green-600 bg-green-50 dark:text-gray-900 dark:bg-green-30',
QuotationStatusEnum::CANCELLED => '!border-l-4 !border-orange-600 bg-orange-50 dark:text-gray-900 dark:border-orange-300',
default => null,
})
36 replies
heroicons issue
I got this issue after adding a viewRecord to an existing resource !
Svg by name "s-archive-box-x-mark " from set "heroicons" not found.
https://flareapp.io/share/x7XaNYO5
8 replies
RelationManager translation for BelongsToMany relationship
Let's say I have belongsToMany relationship with pivot fields having translatable option, Is there a way to manage the translation the same as Create / Edit resource ? (I'm using filament spaties translation
Thanks
8 replies
stancl/tenancy main domain issue
Hi there,
I've installed stancl tenancy package, I followed its docs and this https://filamentphp.com/docs/2.x/admin/resources/getting-started#multi-tenancy,
when I go to the main domain
localhost/admin/(register or login)
I get this error :
Stancl \ Tenancy \ Exceptions \ TenantCouldNotBeIdentifiedOnDomainException
Tenant could not be identified on domain localhost
NB: I can login to a tenant sub-domain If I create a tenant + domain manually, (ex foo.localhost/admin/login
)
Please anyone has used it ? what am I missing ?7 replies