@nasilemak
Adding a list of placeholder variables to the RichEditor component
We have a RichEditor component and we'd like to add a dropdown so that the user can select placeholders that can be injected into the text area like
[[companyName]]
, [[companyAddress]]
. Does Filament allow for this?3 replies
How to override default inline styling?
For example headings have the following default styling
fi-header-heading text-2xl font-bold tracking-tight text-gray-950 sm:text-3xl dark:text-white
The following would successfully change the background color but would fail to customize the text color since text-green-100
would get overridden by the inline text-gray-950
7 replies
How to replace default actions in the Create and Edit pages?
I'm trying to build something similar to WordPress with Filament whereby a record can be published or saved as a draft.
So basically I need to override the default Create functionality.
I would like to remove the default "Create" and "Create & create another" buttons
Add add these three custom actions instead "Save Draft", "Publish", "Schedule"
and on the EditPage if
$record->isPublished()
an "Unpublish" action will be rendered instead of "Publish"12 replies
How to display an enum's label rather than value in a TextColumn?
My
Customer
model has a priority
column which stores any one of these values: 1, 2, 3.
How do I make TextColumn::make('priority')
display the value instead of the key?
Here's what I have. However I don't want this displayed as a description but rather as the value itself.
16 replies
Does @livewireScripts directive still need to be included when using @filamentScripts?
The TALL preset base.blade.layout has
@livewireScripts
& @livewireStyles
.
I want to use filament in the front-end, so I've inserted the @filamentScripts
& @filamentStyles
directives.
Have I placed the directives in the correct order?8 replies
Upgraded from v2 to 3, AdminPanelProvider's colors() method not working?
I've just upgraded from v2 to v3.
Everything is working fine but the color palette does not seem to be working.
Previously I had color-coded badge columns. But now everything is mute.
I have a
tailwind.config.js
file in my project's root folder
But I know that in v3 this file is not necessary as it is provided in vendor/filament/filament/tailwind.config.js
Should I go ahead and delete my tailwind.config.js
and postcss.config.js
files?2 replies