Stanneman
Stanneman
FFilament
Created by Stanneman on 3/9/2025 in #❓┊help
Field required validation error, even when field is filled.
After following the docs from here (https://filamentphp.com/docs/3.x/forms/adding-a-form-to-a-livewire-component), the validation fails (Field title is required), even when the field is filled. When I remove ->required() and dump the results the field appears to be empty. How to troubleshoot this?
2 replies
FFilament
Created by Stanneman on 7/5/2023 in #❓┊help
Toggle appears to be always dirty
Hi, When setting up my observer (observing a boolean ìs_active) I noticed that the "Account is active"-email is always sended, even if the toggle hasn't been changed. When I just hit save without changing anything:
array:3 [▼ // app/Observers/UserObserver.php:29
"is_admin" => false
"is_active" => true
"updated_at" => "2023-07-05 10:47:22"
]
array:3 [▼ // app/Observers/UserObserver.php:29
"is_admin" => false
"is_active" => true
"updated_at" => "2023-07-05 10:47:22"
]
When I only change username:
array:4 [▼ // app/Observers/UserObserver.php:29
"firstname" => "Lila"
"is_admin" => false
"is_active" => true
"updated_at" => "2023-07-05 10:53:30"
]
array:4 [▼ // app/Observers/UserObserver.php:29
"firstname" => "Lila"
"is_admin" => false
"is_active" => true
"updated_at" => "2023-07-05 10:53:30"
]
Is this normal behaviour, and how can I fix this?
2 replies