button: issue with value init (see previous commit)

This commit is contained in:
jean-emmanuel 2023-09-13 20:25:51 +02:00
parent cac9fb7abc
commit 07b921d157

View file

@ -201,7 +201,7 @@ class Widget extends EventEmitter {
this.isValueChanging = false
this.valueChangingTimeout = null
this.valueChangingQueue = {}
this.value = options.value
if (options.value !== undefined) this.value = options.value
this.parsers = {}
this.parsersLocalScope = options.locals || {}