Čamap
Use colors setup from certain panel in external livewire layout/component
When using
colors
builder method such as:
How do I import this color setup into an external layout used outside of filament? Is there maybe a method familiar to , but for colors instead ?5 replies
Tailwind classes still missing in filament-page's custom view
Hi, when adding a filament-page with custom view in
/resources/views/filament/admin/pages/custom-page.blade.php
, shouldnt tailwind with this config make sure to include classes that are used in the view blade (because of ./resources/views/**/*.blade.php
rule?
Because this doesnt seem to work, I'm still missing the classes and only have filament's builtins available..49 replies
Unable to load proper styles for components used outside of admin panel
I've got a basic layout blade and I want to use button from filament. No luck so far, I've read the docs but sadly did not find anything or missed it..
app.blade.php
vite.config.js
and tailwind.config.js
Am I missing something? It is probably something stupid I forgot about.. the styles actually get loaded but the button is not styled properly.. one thing I noticed is that
--c-400: var(--primary-400);
--c-500: var(--primary-500);
--c-600: var(--primary-600);
on the button dont work, it says that --primary-400
, --primary-500
, --primary-600
are not defined.9 replies
Assert visibility of every field of Tab in resource form
Is there a way to assert that entire Tab with fields in form is visible/hidden?
I've got a form with this schema
I want to assert that all fields in
Internal services
tab are visible and assert that all fields in External services
tab are hidden.
I'm currently asserting visibility of each field, which seems a bit excessive, since every tab has like 15 fields..6 replies
Translatable Relation manager
Hi, I'm using spatie translatable plugin for translating models and resources. I need to make it work in Relation Managers. Since the package does not support it right away, I found a possible fix
https://github.com/filamentphp/filament/discussions/1514#discussioncomment-2156698
but the solution does not seem to work - I'm getting the same exact issue as
https://github.com/filamentphp/filament/discussions/1514#discussioncomment-3099334
Is there a possible workaround or is it just not possible to make it work with rm?
2 replies