-
Notifications
You must be signed in to change notification settings - Fork 32
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(FormLabel): unhandled runtime error, elem is null #4354
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried (hard) to create a test that replicates this issue, but was not able to. I really wonder how this is possible 😄 Hope we get more feedback, so we can create a test.
## [10.59.0](v10.58.0...v10.59.0) (2024-12-02) ### ✨ Features * **Upload:** disabling delete button when loading ([cca3388](cca3388)) ### 🐛 Bug Fixes * **FormLabel:** unhandled runtime error, elem is null ([#4354](#4354)) ([a3414f1](a3414f1)), closes [/github.com//pull/4354/files#diff-f476207b8a837f2c0dea83ca374c5d383bcd895b0f6f10e033e12d7c0a7a3f84R142](https://github.com/dnbexperience//github.com/dnbexperience/eufemia/pull/4354/files/issues/diff-f476207b8a837f2c0dea83ca374c5d383bcd895b0f6f10e033e12d7c0a7a3f84R142) * **Upload:** disabling delete button when loading ([#4348](#4348)) ([85445b4](85445b4))
🎉 This PR is included in version 10.59.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
I think it makes sense to add the and statement: https://github.com/dnbexperience/eufemia/pull/4354/files#diff-f476207b8a837f2c0dea83ca374c5d383bcd895b0f6f10e033e12d7c0a7a3f84R142
As all following code in the if statement is dependent on that
ref.current
is existing.Fixes #4352