To get started with laravellegends/pt-br-validator, you can install it using the command:
composer require laravellegends/pt-br-validator
You can validate the input by passing cnpj validation rule:
use Filament\Forms\Components\TextInput; //cnpjTextInput::make('cnpj') ->rule('cnpj') ->maxLength(18) ->mask(fn (TextInput\Mask $mask) => $mask->pattern('00.000.000/0000-00')),
No comments yet…