@praxisui/dynamic-form 3.0.0-beta.2 → 3.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -10657,6 +10657,12 @@ class PraxisDynamicForm {
|
|
|
10657
10657
|
preserveInteractionState: true,
|
|
10658
10658
|
fallbackToLoadedEntity: true,
|
|
10659
10659
|
});
|
|
10660
|
+
const hasRenderableConfig = (this.config?.sections?.length ?? 0) > 0 ||
|
|
10661
|
+
(this.config?.fieldMetadata?.length ?? 0) > 0;
|
|
10662
|
+
if (hasRenderableConfig) {
|
|
10663
|
+
this.isInitialized = true;
|
|
10664
|
+
this.initializationStatus = 'success';
|
|
10665
|
+
}
|
|
10660
10666
|
}
|
|
10661
10667
|
if (plan.runtime?.rebindMode && targetMode && targetMode !== previousMode) {
|
|
10662
10668
|
this.reloadForModeChange();
|