diff --git a/src/Umbraco.Web.UI.Client/src/views/components/content/umb-tabbed-content.html b/src/Umbraco.Web.UI.Client/src/views/components/content/umb-tabbed-content.html index 67914bbfdc..ea7ed9785b 100644 --- a/src/Umbraco.Web.UI.Client/src/views/components/content/umb-tabbed-content.html +++ b/src/Umbraco.Web.UI.Client/src/views/components/content/umb-tabbed-content.html @@ -19,7 +19,7 @@ preview="(propertyEditorDisabled(property) && allowUpdate) || (!allowUpdate && !property.supportsReadOnly)" allow-unlock="allowUpdate && allowEditInvariantFromNonDefault" on-unlock="unlockInvariantValue(property)" - ng-attr-readonly="{{(property.supportsReadOnly && !allowUpdate) || undefined}}"> + ng-attr-readonly="{{ !allowUpdate) || undefined}}"> @@ -51,7 +51,7 @@ preview="(propertyEditorDisabled(property) && allowUpdate) || (!allowUpdate && !property.supportsReadOnly)" allow-unlock="allowUpdate && allowEditInvariantFromNonDefault" on-unlock="unlockInvariantValue(property)" - ng-attr-readonly="{{(property.supportsReadOnly && !allowUpdate) || undefined}}"> + ng-attr-readonly="{{!allowUpdate || undefined}}"> diff --git a/src/Umbraco.Web.UI.Client/src/views/components/elementeditor/umb-element-editor-content.component.html b/src/Umbraco.Web.UI.Client/src/views/components/elementeditor/umb-element-editor-content.component.html index 1ec7873f2c..3499a85f0b 100644 --- a/src/Umbraco.Web.UI.Client/src/views/components/elementeditor/umb-element-editor-content.component.html +++ b/src/Umbraco.Web.UI.Client/src/views/components/elementeditor/umb-element-editor-content.component.html @@ -18,7 +18,7 @@ + ng-attr-readonly="{{!vm.allowUpdate || undefined}}"> diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/nestedcontent/nestedcontent.editor.html b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/nestedcontent/nestedcontent.editor.html index 82c385f32f..e07c219b2e 100644 --- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/nestedcontent/nestedcontent.editor.html +++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/nestedcontent/nestedcontent.editor.html @@ -11,7 +11,7 @@ + ng-attr-readonly="{{readonly || undefined }}">