vazco / uniforms

A React library for building forms from any schema.
https://uniforms.tools
MIT License
1.93k stars 239 forks source link

Add showInlineError to unstyled #1329

Open dwidge opened 2 months ago

dwidge commented 2 months ago

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 commented 2 months ago

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.