From 25e7732f8f3094fa8d2f89b4d88731a30359fd8f Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Mon, 23 Jan 2023 13:54:47 +0100 Subject: [PATCH] don't render add button when readonly --- .../input-multiple-text-string.element.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/multiple-text-string/input-multiple-text-string/input-multiple-text-string.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/multiple-text-string/input-multiple-text-string/input-multiple-text-string.element.ts index b98ba17a4a..9c4317f9c5 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/multiple-text-string/input-multiple-text-string/input-multiple-text-string.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/multiple-text-string/input-multiple-text-string/input-multiple-text-string.element.ts @@ -178,7 +178,7 @@ export class UmbInputMultipleTextStringElement extends FormControlMixin(UmbLitEl render() { return html` ${this._renderItems()} - ${this.readonly + ${this.disabled || this.readonly ? nothing : html`