© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
1 reply
rominronin

Custom field layout component does not pass $extraAttributes to blade

Hi, I followed the instructions here to create a custom layout component: https://filamentphp.com/docs/2.x/forms/layout#building-custom-layout-components in the generated blade there is an $extraAttributes variable, but I cannot pass it via the form builder as you would expect - what is missing here? Thanks
```php
CustomComponent::make()
->extraAttributes(['class' => 'not-passed-to-blade'])
->schema([])
Filament
Layout - Form Builder - Filament
The elegant TALL stack form builder for Laravel artisans.
Layout - Form Builder - Filament
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

Pass value to custom field
FilamentFFilament / ❓┊help
3y ago
Custom Wizard layout component
FilamentFFilament / ❓┊help
3y ago
pass data to blade
FilamentFFilament / ❓┊help
3y ago
Blade Component
FilamentFFilament / ❓┊help
12mo ago