Skip to content

[Bug]: The custom widget simply stops working whenever I write syntax that might cause an error. #42011

Description

@ITWBRDEV

Is there an existing issue for this?

  • I have searched the existing issues

Description

Every time I write an incomplete block of JSX code, it is reported as an error (as it should be). However, instead of just reporting the error in the console, the custom widget simply stops opening, preventing me from viewing the widget's internal code and fixing the problem.

Steps To Reproduce

1 - Open a custom React widget.
2 - Write incomplete code syntax. E.g., just write "function" without naming the function.
3 - This will cause an error that prevents you from opening the custom widget.

Public Sample App

No response

Environment

Production

Severity

High (Blocker to building or releasing)

Issue video log

No response

Version

Self Hosted - v2.2

Metadata

Metadata

Labels

BugSomething isn't workingContributor Expressed InterestIssues where community has raised interest to pick it upNeeds TriagingNeeds attention from maintainers to triage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions