|
|
|
@ -68,8 +68,8 @@ export default class Single extends Widget {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
_init() { |
|
|
|
|
let { value } = this.options; |
|
|
|
|
value = BI.isFunction(value) ? this.__watch(value, (context, newValue) => { |
|
|
|
|
const { value } = this.options; |
|
|
|
|
this.options.value = BI.isFunction(value) ? this.__watch(value, (context, newValue) => { |
|
|
|
|
this.setValue(newValue); |
|
|
|
|
}) : value; |
|
|
|
|
super._init(arguments); |
|
|
|
|