Support the ongoing development of Laravel.io →
Jetstream Input Alpine.js
Last updated 2 years 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 3 years ago.
0

Sign in to participate in this thread!

Eventy

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.

© 2024 Laravel.io - All rights reserved.