x4js 2.3.9 → 2.3.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "x4js",
3
- "version": "2.3.9",
3
+ "version": "2.3.10",
4
4
  "type": "module",
5
5
  "main": "src/x4.ts",
6
6
  "module": "src/x4.ts",
@@ -50,7 +50,7 @@ export class SimpleTextArea extends Component<TextAreaProps> {
50
50
 
51
51
  this.setAttribute( "name", props.name );
52
52
  if( props.value ) {
53
- this.setAttribute( "value", props.value+'' );
53
+ this.setText( props.value+'' );
54
54
  }
55
55
 
56
56
  if( props.resize!==undefined ) {
@@ -119,7 +119,7 @@ export class TextArea extends VBox {
119
119
 
120
120
  this.setContent( [
121
121
  new Label( { text: props.label }),
122
- this._input = new SimpleTextArea( { label,value,resize,readonly,trim } )
122
+ this._input = new SimpleTextArea( { label,value,resize,readonly,trim,name } )
123
123
  ])
124
124
  }
125
125
 
@@ -130,6 +130,7 @@ export class Application<E extends ApplicationEvents = ApplicationEvents> extend
130
130
  const ev = document.querySelector( mountPoint );
131
131
  if( ev ) {
132
132
  ev.appendChild( this.mainview.dom );
133
+ this.mounted = true;
133
134
  }
134
135
  }
135
136
  }