Skip to content

Conversation

rdjanuar
Copy link
Contributor

@rdjanuar rdjanuar commented Aug 9, 2025

πŸ”— Linked issue

Resolves #4529

❓ 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

πŸ“ Checklist

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

@rdjanuar rdjanuar requested a review from benjamincanac as a code owner August 9, 2025 18:30
@rdjanuar rdjanuar changed the title Fix/issues 4529 feat(FormField): add required field support across form components Aug 9, 2025
@rdjanuar
Copy link
Contributor Author

rdjanuar commented Aug 9, 2025

sorry i make pull request again because i`m accidently remove my repository @benjamincanac

Copy link

pkg-pr-new bot commented Aug 9, 2025

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

commit: 61f7959

@benjamincanac
Copy link
Member

@rdjanuar Would you be willing to move this PR to v4?

return {
[props.orientation === 'vertical' ? 'height' : 'width']: percent.value ? `${percent.value}%` : 'fit-content'
}
const value = `${Math.max(percent.value ?? 0, 0)}%`

Choose a reason for hiding this comment

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

Hi! I was looking at this PR as it seems to have gotten stuck, and I wanted to gently suggest a couple of things that might help the maintainers handle it more easily.

  1. Unrelated Changes ("Code Churn"): This change, for example, doesn't seem to be related to the PR's main goal. I've also noticed other similar changes throughout the files, like updates to CSS. To make the core change clearer, it would be helpful if these unrelated changes could be moved to a separate PR (like "Simplify code").

  2. There are currently 33 commits in this PR. For a focused change like this, it would be better if they could be rebased and squashed down into a single commit.

No offense β€” I was actually going to come up with a similar request, and now I see there's even a ready made PR, and to be honest I understand why it is.

@rdjanuar rdjanuar changed the base branch from v3 to v4 October 13, 2025 02:50
@github-actions github-actions bot added the v4 #4488 label Oct 13, 2025
@rdjanuar
Copy link
Contributor Author

@benjamincanac I struggle with package json EOL and pnpm.lock, would you mind to help me ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v3 #1289 v4 #4488

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setting required="true" on a <UFormField> should also set it's child required to true

7 participants