Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(FormLabel): unhandled runtime error, elem is null (#4354)
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 --------- Co-authored-by: Tobias Høegh <[email protected]>
- Loading branch information