From 0ad19cbd806bb980a3662cd8398ff729fe2dd364 Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 27 Mar 2024 13:44:23 -0600 Subject: [PATCH] Et2Textarea: Fix height parameter --- api/js/etemplate/Et2Textarea/Et2Textarea.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/js/etemplate/Et2Textarea/Et2Textarea.ts b/api/js/etemplate/Et2Textarea/Et2Textarea.ts index 24872f5ff5..1c4843442a 100644 --- a/api/js/etemplate/Et2Textarea/Et2Textarea.ts +++ b/api/js/etemplate/Et2Textarea/Et2Textarea.ts @@ -72,13 +72,13 @@ export class Et2Textarea extends Et2InputWidget(SlTextarea) connectedCallback() { super.connectedCallback(); - if(this.__width && this._inputNode) + if(this.__width) { - this._inputNode.style.width = this.__width; + this.style.width = this.__width; } - if(this.__height && this._inputNode) + if(this.__height) { - this._inputNode.style.height = this.__height; + this.style.height = this.__height; } }