DaemonKeen's avatar

DaemonKeen wrote a reply+100 XP

2mos ago

I've came across the same issue and solved it by creating a custom validation rule

that I've attached to the upcoming field with the field we want to stop on as parameter. Now when validator encounter the StopOnFailure it will look into the error bag for the 'driver' and throw exception.

return [
            'driver' => ['required', Rule::enum(ServiceDriver::class)],
            'name' => [new StopOnFailure('driver'), 'required', 'string', 'max:255']
];

I think this solution works but it isn't optimal. It bypasses Laravel's standard error collection and jumps straight to the response which can lead to issues.

DaemonKeen's avatar

DaemonKeen wrote a comment+100 XP

3mos ago

I’ve been getting a hard time this week about infinite scroll and optimization in Livewire (not fetching 50 posts on 5th page :D), and then you guys drop this feature like angels. Thank you.

DaemonKeen's avatar

DaemonKeen wrote a reply+100 XP

3mos ago

For anyone looking for the answer with Tailwind v4 (without tailwind.config.js), it's by adding @variant dark (false); to the resources/app.css