-
Notifications
You must be signed in to change notification settings - Fork 4
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 Grid formatters errors in dev mode #5682
Comments
edloidas
added a commit
that referenced
this issue
Jan 5, 2023
Removed parameter destructing from the formatter functions, because it will lead to errors, when one of the arguments is undefined. Moved lib-admin-ui tasks exclusion to the separate file. Added `clean` Gradle task call in lib-admin-ui, when clean is called in the project.
alansemenov
pushed a commit
that referenced
this issue
Jan 5, 2023
Removed parameter destructing from the formatter functions, because it will lead to errors, when one of the arguments is undefined. Moved lib-admin-ui tasks exclusion to the separate file. Added `clean` Gradle task call in lib-admin-ui, when clean is called in the project.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's not possible to use "destructing" syntax in formatter function's parameter, like this:
Because the fourth parameter may be undefined in case of an empty nodes that we use to track the postLoad function calls.
When this parameter is
undefined
, the transpiled code in dev mode will throw the error, when the value is passed to the destructing function, generated byswc
The text was updated successfully, but these errors were encountered: