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

Unhandled runtime error with FormLabel.tsx #4352

Closed
Monkeyboyen opened this issue Dec 2, 2024 · 3 comments · Fixed by #4354
Closed

Unhandled runtime error with FormLabel.tsx #4352

Monkeyboyen opened this issue Dec 2, 2024 · 3 comments · Fixed by #4354

Comments

@Monkeyboyen
Copy link

Works in Eufemia package 10.53.0, updated to 10.57.1 and then I get a error.

Using Formset with Formrows and FormLabel as Label to populate form I get the following error :

Screenshot 2024-12-02 141636

@langz
Copy link
Contributor

langz commented Dec 2, 2024

Thanks so much for reporting 🙇
I've tried making a CSB to reproduce this error, but have not been able to get it right yet.
Do you see anything I'm missing in the code, to be able to reproduce the error you experience @Monkeyboyen ?

Further, I believe the error is related to the changes done in #4282, more specifically the following lines (from the screenshot you provided):

const button = elem.querySelector('button')


@langz
Copy link
Contributor

langz commented Dec 2, 2024

@Monkeyboyen, I think and hope we were able to fix it as part of #4354
But we never really managed to reproduce the error you reported.
Could you share some more of the code you've ran which resulted in the error?

Thanks 🙇

@Monkeyboyen
Copy link
Author

@langz Hi, tested it now with 10.59.0 and its working as intended :)

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

Successfully merging a pull request may close this issue.

2 participants