Skip to content

[Bug]: cpf only field return CPF + CNPJ validation message error #16

@IgordeOliveira

Description

@IgordeOliveira

What happened?

quando uso somente cpf ta retornando mensagem de cpf + cnpj
image

How to reproduce the bug

                            Document::make('cpf')
                                ->label("CPF")
                                ->validationAttribute('CPF')
                                ->cpf()
                                ->unique(ignorable: fn ($record) => $record)
                                ->required(),

Package Version

3.0

PHP Version

8.1

Laravel Version

10

Which operating systems does with happen with?

No response

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions