When there are no field errors, <FieldErrors> should output nothing#223
When there are no field errors, <FieldErrors> should output nothing#223atuttle wants to merge 1 commit into
Conversation
Previously, <FieldErrors> would output a div which could have a height and throw off the spacing of layouts/etc.
|
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
|
If you want me to add a changeset, let me know which semver level to bump. Since this changes output, some people would consider it a breaking change. |
|
This would be considered a breaking change. Having a |
|
And I think using the |
Probably, yes, but that's a lot of extra markup to add to every field. Maybe an option to hide the div when there are no errors? Can default to false to preserve backwards compat. |
Previously, would output a div which could have a height and throw off the spacing of layouts/etc.