© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
5 replies
Tim

Changing field wrapper view, to change label styling

I'm creating a registration wizard, with the Filament wizard component. But I need to do some custom styling in the input labels. After doing some searching, I found the
fieldWrapperView()
fieldWrapperView()
function. I couldn't find much documentation about it, but it seems to give the option to overwrite the field wrapper that includes the label. So I published the Filament Form views, copied the label component, changed the styling, and set the
fieldWrapperView('livewire.components.field-wrapper.label')
fieldWrapperView('livewire.components.field-wrapper.label')
. Unfortunately, this doesn't seem to work, it can't find the label template at that location. I checked a lot of times, but I'm sure the view path is correct. Is this a bug?

When I change the label field-wrapper in the vendor folder, it does work, but it adjusts the styling everywhere. That's not what I want, I only want the updated styling in the registration wizard. Is trying to use the
fieldWrapperView()
fieldWrapperView()
function the right way to do this, or are there better ways?
afbeelding.png
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

Changing Field Wrapper View for Form Component Throws Exception
FilamentFFilament / ❓┊help
15mo ago
How to change a label for a field, in view page?
FilamentFFilament / ❓┊help
2y ago
Label on form field, custom view
FilamentFFilament / ❓┊help
3y ago
Change repeater field label based on other field value
FilamentFFilament / ❓┊help
16mo ago