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
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
- bug fixes
|
||||
- input: rendering issues with big font sizes
|
||||
- panel: tab rendering issue when initialized with a non-numeric value
|
||||
|
||||
## 1.25.2
|
||||
|
||||
|
|
|
|||
|
|
@ -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