Skip to content

Conversation

@ragafus
Copy link
Contributor

@ragafus ragafus commented Feb 26, 2025

Summary

This PR allows Field components to just render the Input element + FieldErrors element.
It's a pattern commonly used by ui-kit consumers and it's not currently feasible through Field components due to the FieldLabel element always being rendered.

Fixes #3070

Description

@ragafus ragafus self-assigned this Feb 26, 2025
@changeset-bot
Copy link

changeset-bot bot commented Feb 26, 2025

⚠️ No Changeset found

Latest commit: d677c87

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Feb 26, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ui-kit ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 26, 2025 10:20am

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.

Field components always render a FieldLabel element

2 participants