🚀 feat(form): simplify validation for check property in ApplicationForm and add alert for agreement in profile view.

This commit is contained in:
fsociety
2024-10-26 19:40:56 +02:00
parent f05105770e
commit 65688f649e
2 changed files with 5 additions and 2 deletions

View File

@@ -9,6 +9,6 @@ class ApplicationForm extends Form
{
#[Validate('nullable|string')]
public $reason = '';
#[Validate('boolean|in:true')]
#[Validate('boolean')]
public $check = false;
}