Merge pull request #1450 from umbraco/bugfix/property-editor/textarea

Chore: Textarea editor UI amends
This commit is contained in:
Lee Kelleher
2024-03-19 12:32:01 +00:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -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',
},
{

View File

@@ -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}"></uui-textarea>`;
auto-height=${this._rows ? false : true}></uui-textarea>`;
}
static styles = [