zeroX
6 months ago
681
3
Laravel

Validation Errors with Tailwind

Posted 6 months ago by zeroX

Hello,

is it possible to add for example the tailwind class "border-red-500" to a input that has errors after validation with plain Laravel and Tailwind or do i need to use JS or Vue for something like that?

What is the common approach for cases like that? I don't need a solution, a hint what to learn next or a little tip is enough.

Thank you very much an be safe out there.

Please sign in or create an account to participate in this conversation.