we need to NOT have umb-isolate-form or val-form-manager on the umb-editor-sub-view when its core's own content apps
This commit is contained in:
@@ -1,14 +1,29 @@
|
||||
<div class="umb-editor-sub-view"
|
||||
ng-class="'sub-view-' + model.name"
|
||||
val-sub-view>
|
||||
ng-class="'sub-view-' + model.name"
|
||||
val-sub-view>
|
||||
|
||||
<!-- User definied content apps -->
|
||||
<div ng-switch="model.alias">
|
||||
<ng-form ng-switch-when="umbContent|umbInfo" ng-switch-when-separator="|" val-form-manager>
|
||||
<div
|
||||
class="umb-editor-sub-view__content"
|
||||
ng-show="model.active === true"
|
||||
ng-include="model.view">
|
||||
</div>
|
||||
</ng-form>
|
||||
|
||||
<!-- Custom Content Apps -->
|
||||
<ng-form ng-switch-default val-form-manager umb-isolate-form>
|
||||
<div
|
||||
class="umb-editor-sub-view__content"
|
||||
ng-show="model.active === true"
|
||||
ng-include="model.view">
|
||||
</div>
|
||||
</ng-form>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<ng-form val-form-manager umb-isolate-form>
|
||||
<div
|
||||
class="umb-editor-sub-view__content"
|
||||
ng-show="model.active === true"
|
||||
ng-include="model.view">
|
||||
</div>
|
||||
</ng-form>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user