Skip to content

Conversation

@LarsFixt
Copy link
Contributor

This PR fixes the rendering of validation errors for the FluxUI OTP component, which was recently introduced in #159.

  • Added label="OTP Code" and label:sr-only to the <flux:otp> components.
  • Added error:class="text-center" to properly center-align the validation error message.
  • Added class="mx-auto" to ensure the OTP input field itself is centered, when the error is shown.

@pushpak1300 pushpak1300 merged commit 39bdfc4 into laravel:main Nov 29, 2025
3 checks passed
@pushpak1300
Copy link
Member

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants