bugfix
This commit is contained in:
parent
c536775bd7
commit
397f13e2b9
@ -501,11 +501,12 @@ bricks.UiText =class extends bricks.UiType {
|
|||||||
this.bind('input', this.set_value_from_input.bind(this))
|
this.bind('input', this.set_value_from_input.bind(this))
|
||||||
}
|
}
|
||||||
set_value_from_input(event){
|
set_value_from_input(event){
|
||||||
this.value = this.dom_element.innerText;
|
this.value = this.dom_element.value;
|
||||||
}
|
}
|
||||||
resultValue(){
|
resultValue(){
|
||||||
console.log('UiText(), element=', this.dom_element);
|
var e = this.dom_element;
|
||||||
this.value = this.dom_element.innerText;
|
console.log('UiText(), element=', e, 'value=', e.value);
|
||||||
|
this.value = e.value;
|
||||||
return this.value;
|
return this.value;
|
||||||
}
|
}
|
||||||
setValue(v){
|
setValue(v){
|
||||||
|
Loading…
Reference in New Issue
Block a user