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(), I get the error Target class [Filament\Forms\Components\TextInput\Mask] does not exist.
2 Replies
Jon Mason
Jon Mason10mo ago
ahh ok, i guess I had v2 selected. thanks!