You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use this setup many places in my without problem. But in some for got error and crashes the app
Server Error
ReferenceError: Cannot access 'DetailsTemplate' before initialization
⨯ ReferenceError: Cannot access 'DetailsTemplate' before initialization
at Module.DetailsTemplate (webpack-internal:///./src/views/apps/health/FormTemplates/DetailsTemplate.tsx:4:62)
at eval (webpack-internal:///./src/views/apps/health/physicalexam/periodic/FormElements/uiSchema.tsx:36:95) {
page: '/apps/health/physicalexam/policlinic/null'
}
Expected Behavior
It shouldn't crash randomly.
Steps To Reproduce
It's impossible to reproduce behavior.
Environment
- OS:Macos 14.3.1
- Node:21.5.0
- yarn: 1.22.21
Anything else?
I dont know what to do. Any help would be appreciated.
The text was updated successfully, but these errors were encountered:
I'm not too sure how to help you, but it seems like you have a webpack configuration error somewhere where DetailsTemplate isn't in the scope (tree-shaken out perhaps) under a certain circumstance
Prerequisites
What theme are you using?
material-ui
Version
5.13.2
Current Behavior
I have an object template
Below schema and uischema
I use this setup many places in my without problem. But in some for got error and crashes the app
Expected Behavior
It shouldn't crash randomly.
Steps To Reproduce
It's impossible to reproduce behavior.
Environment
Anything else?
I dont know what to do. Any help would be appreciated.
The text was updated successfully, but these errors were encountered: