© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
3 replies
Jon Mason

Target Class Does Not Exist

I'm attempting to use the Mask functionality in my class, and I've added the following line:

TextInput::make('phone')->mask(fn (TextInput\Mask $mask) => $mask->pattern('(000) 000-0000'))->tel(),
TextInput::make('phone')->mask(fn (TextInput\Mask $mask) => $mask->pattern('(000) 000-0000'))->tel(),


I get the error
Target class [Filament\Forms\Components\TextInput\Mask] does not exist.
Target class [Filament\Forms\Components\TextInput\Mask] does not exist.
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

Target class [livewire] does not exist.
FilamentFFilament / ❓┊help
11mo ago
Target class [filament] does not exist. ?
FilamentFFilament / ❓┊help
2y ago
Target Class [cache] does not exist
FilamentFFilament / ❓┊help
3y ago
Target class [cache] does not exist.
FilamentFFilament / ❓┊help
3y ago