From 05a8daadfcdce3cef3b1c43ee63943ac7e484104 Mon Sep 17 00:00:00 2001 From: leekelleher Date: Tue, 19 Mar 2024 11:00:32 +0000 Subject: [PATCH 1/2] Textarea: fixes the `auto-height` attribute --- .../uis/textarea/property-editor-ui-textarea.element.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/property-editor/uis/textarea/property-editor-ui-textarea.element.ts b/src/Umbraco.Web.UI.Client/src/packages/core/property-editor/uis/textarea/property-editor-ui-textarea.element.ts index e9f0305e4a..6ab34bcdf6 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/property-editor/uis/textarea/property-editor-ui-textarea.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/property-editor/uis/textarea/property-editor-ui-textarea.element.ts @@ -49,7 +49,7 @@ export class UmbPropertyEditorUITextareaElement extends UmbLitElement implements rows="${ifDefined(this._rows)}" @input=${this.onInput} style="${styleMap(this._css)}" - autoheight="${this._rows ? false : true}">`; + auto-height=${this._rows ? false : true}>`; } static styles = [ From 568baffb5f978e0a151ff0f208fe394739e01415 Mon Sep 17 00:00:00 2001 From: leekelleher Date: Tue, 19 Mar 2024 11:00:51 +0000 Subject: [PATCH 2/2] Textarea: Updates `rows` description --- .../src/packages/core/property-editor/uis/textarea/manifests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/property-editor/uis/textarea/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/core/property-editor/uis/textarea/manifests.ts index d5f75b2a60..25e5da053c 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/property-editor/uis/textarea/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/property-editor/uis/textarea/manifests.ts @@ -15,7 +15,7 @@ export const manifest: ManifestPropertyEditorUi = { { alias: 'rows', label: 'Number of rows', - description: 'If empty the textarea is set to autoheight', + description: 'If empty or zero, the textarea is set to auto-height', propertyEditorUiAlias: 'Umb.PropertyEditorUi.Number', }, {