Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@edimitchel
Copy link
Contributor

πŸ”— Linked issue

Resolves #5516

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

Adding orientation to UFormField component to let field be shown on right side instead of bottom side.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@github-actions github-actions bot added the v4 #4488 label Dec 8, 2025
@benjamincanac benjamincanac changed the title feat: add orientation prop to FormField component (#1) feat(FormField): add orientation prop Dec 9, 2025
@benjamincanac
Copy link
Member

benjamincanac commented Dec 9, 2025

@edimitchel I think the label should be centered when using horizontal orientation:

CleanShot 2025-12-09 at 10 19 28@2x

@edimitchel edimitchel force-pushed the feat/form-field-add-orientation branch from 91433cb to 88cae5d Compare December 9, 2025 09:38
@edimitchel
Copy link
Contributor Author

@edimitchel I think the label should be centered when using horizontal orientation:

Good catch ! Fixed

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 13, 2025

npm i https://pkg.pr.new/@nuxt/ui@5632

commit: d94d7ff

Copy link
Member

@benjamincanac benjamincanac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @edimitchel! I've made a few changes to improve spacing, more specifically added a place-items-baseline class so the label is centered with the input without taking the help or error slot into account.

@benjamincanac benjamincanac merged commit b74ec6e into nuxt:v4 Dec 16, 2025
17 checks passed
@edimitchel edimitchel deleted the feat/form-field-add-orientation branch December 16, 2025 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v4 #4488

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[UFormField] add orientation

2 participants