Filament evaluates each entry of ->rules() as its own closure and tries to inject dependencies, so a bare Laravel validation closure blew up with "[$attribute] was unresolvable" when opening/saving the user form. Wrap it so the outer closure returns the Laravel rule. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1.5 KiB
1.5 KiB