This commit is contained in:
yumoqing 2024-04-12 16:01:45 +08:00
parent 16c8ed4c70
commit 34933b7d51

View File

@ -589,15 +589,13 @@ bricks.UiText =class extends bricks.UiType {
}
resultValue(){
var e = this.dom_element;
bricks.debug('UiText(), element=', e, 'value=', e.value);
this.value = e.value;
return this.value;
}
setValue(v){
if (! v) v = '';
this.value = v;
this.dom_element.innerText = '';
this.dom_element.innerText = v;
this.dom_element.value = v;
debug('UiText: v=', v);
}
reset(){