Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Forms): ensure setFieldStatus by useValidation does not throw when used without id #4529

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

tujoworker
Copy link
Member

More info.

Copy link

vercel bot commented Feb 3, 2025

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

Name Status Preview Comments Updated (UTC)
eufemia ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 3, 2025 4:11pm

Copy link

codesandbox-ci bot commented Feb 3, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@tujoworker
Copy link
Member Author

The issue with this PR is that it was not an issue as long as the hook was used as documented. But the reported issue is much more complicated to solve. So we do it with another PR. Probably even with a new hook.

@tujoworker tujoworker merged commit 1a92512 into main Feb 4, 2025
11 checks passed
@tujoworker tujoworker deleted the fix/forms-useValidation-outside branch February 4, 2025 07:37
tujoworker pushed a commit that referenced this pull request Feb 4, 2025
## [10.63.2](v10.63.1...v10.63.2) (2025-02-04)

### 🐛 Bug Fixes

* **Dialog:** prevent `onClose` event from firing in StrictMode when opening a new dialog ([#4525](#4525)) ([d24c0d3](d24c0d3))
* **Forms:** always revalidate on submit when data context changes ([#4532](#4532)) ([e0692d6](e0692d6))
* **Forms:** ensure `setFieldStatus` by useValidation does not throw when used without id ([#4529](#4529)) ([1a92512](1a92512))
* **Forms:** ensure `update('/path', undefined)` does not show error message ([#4531](#4531)) ([2dfd44a](2dfd44a))
@tujoworker
Copy link
Member Author

🎉 This PR is included in version 10.63.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants