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
|
@@ -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.
|
|
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
|
|