Support the ongoing development of Laravel.io →
Jetstream Input Alpine.js
Last updated 1 month 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!

LoadForge

Your banner here too?

Chris VS Chris VS chrisvs1983 Joined 13 May 2021

Moderators

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

Your logo here?

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

© 2022 Laravel.io - All rights reserved.