diff --git a/bricks/input.js b/bricks/input.js index 2a16e9e..848798f 100755 --- a/bricks/input.js +++ b/bricks/input.js @@ -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(){