Support the ongoing development of Laravel.io →
Jetstream Input Alpine.js
Last updated 8 months ago.
0

I'll answer my own question here as it was such a simple solution:

... <x-jet-label for="email" value="{{ __('Email') }}" class="{{$this->email ? 'active' : ''}}"/> ...

Not sure if this is best practice but it seems to work well.

Last updated 1 year ago.
0

Sign in to participate in this thread!

LaraJobs

Your banner here too?

Chris VS chrisvs1983 Joined 13 May 2021

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 Laravel.io - All rights reserved.