panel: tab rendering issue when initialized with a non-numeric value
This commit is contained in:
parent
19a4a62a3e
commit
bce4c10acf
2 changed files with 2 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ class Panel extends Container() {
|
|||
e.stopPropagation = true
|
||||
})
|
||||
|
||||
this.setValue(this.getProp('value') || 0)
|
||||
this.setValue(Number(this.getProp('value')) || 0)
|
||||
|
||||
} else if (this.getProp('widgets') && this.getProp('widgets').length) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue