Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add showInlineError to unstyled #1329

Open
dwidge opened this issue May 1, 2024 · 1 comment
Open

Add showInlineError to unstyled #1329

dwidge opened this issue May 1, 2024 · 1 comment
Labels
Bridge: Zod Affects the uniforms-bridge-zod package Theme: Unstyled Affects the uniforms-unstyled package
Milestone

Comments

@dwidge
Copy link

dwidge commented May 1, 2024

request

Can we add showInlineError to unstyled? Maybe easier to read than list of errors at the bottom?

Required
Required
Required
Required

workaround

Add custom message to every zod field containing the field name.

Name Required
Email Required
Phone Required
Amount Required
@piotrpospiech piotrpospiech added the Theme: Unstyled Affects the uniforms-unstyled package label May 10, 2024
@piotrpospiech
Copy link
Collaborator

Hi @dwidge, we are currently working on the Zod bridge. Improved error messages will be added soon #1320.

Adding showInlineError to the unstyled theme looks interesting. We will consider adding it in the 4.x version.

@piotrpospiech piotrpospiech added the Bridge: Zod Affects the uniforms-bridge-zod package label May 10, 2024
@piotrpospiech piotrpospiech added this to the v4.x milestone May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bridge: Zod Affects the uniforms-bridge-zod package Theme: Unstyled Affects the uniforms-unstyled package
Projects
Status: Needs triage
Development

No branches or pull requests

2 participants