Merge pull request #1450 from umbraco/bugfix/property-editor/textarea
Chore: Textarea editor UI amends
This commit is contained in:
@@ -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',
|
||||
},
|
||||
{
|
||||
|
||||
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user