mirror of
https://github.com/rio-labs/rio.git
synced 2026-01-05 20:59:46 -06:00
fix switcher initially not adding its child
This commit is contained in:
@@ -17,7 +17,7 @@ export class MultiLineTextInputComponent extends ComponentBase {
|
||||
|
||||
createElement(): HTMLElement {
|
||||
let textarea = document.createElement('textarea');
|
||||
this.inputBox = new InputBox({ inputElement: textarea });
|
||||
this.inputBox = new InputBox(this.id, { inputElement: textarea });
|
||||
|
||||
let element = this.inputBox.outerElement;
|
||||
element.classList.add('rio-multi-line-text-input');
|
||||
|
||||
Reference in New Issue
Block a user