© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
4 replies
Anik

badge in form placeholder

Hi, I am trying to display a xfilament badge inside a form placeholder. Any idea how can i achieve something like this?
  Forms\Components\Placeholder::make('kyc_status')
                ->label('KYC Status')
                ->content(new HtmlString('<div><x-filament::badge>'
                    . $this->record->status->getLabel() . '</x-filament::badge>
                    <br/>' . $this->record->status_feedback . '</div>')),
  Forms\Components\Placeholder::make('kyc_status')
                ->label('KYC Status')
                ->content(new HtmlString('<div><x-filament::badge>'
                    . $this->record->status->getLabel() . '</x-filament::badge>
                    <br/>' . $this->record->status_feedback . '</div>')),
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Placeholder badge color not working
FilamentFFilament / ❓┊help
3y ago
Form Component Placeholder
FilamentFFilament / ❓┊help
2y ago
PlaceHolder Form Component in Infolist Section
FilamentFFilament / ❓┊help
2y ago
How to allow HTML in Placeholder in Form?
FilamentFFilament / ❓┊help
2y ago