fix: test email should not be required

This commit is contained in:
peaklabs-dev
2024-12-02 22:37:11 +01:00
parent ec1312a3f8
commit 7f449c3b72

View File

@@ -73,8 +73,8 @@ class Email extends Component
#[Validate(['nullable', 'string'])] #[Validate(['nullable', 'string'])]
public ?string $resendApiKey = null; public ?string $resendApiKey = null;
#[Validate(['required', 'email'])] #[Validate(['nullable', 'email'])]
public string $testEmailAddress = ''; public ?string $testEmailAddress = null;
public function mount() public function mount()
{ {