image: ensure default value is a string
This commit is contained in:
parent
3263cf2ff1
commit
000714d22b
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ export default class Image extends StaticProperties(Widget, {bypass: true}) {
|
|||
|
||||
if (!s.length) {
|
||||
|
||||
this.value = this.getProp('default')
|
||||
this.value = String(this.getProp('default'))
|
||||
|
||||
} else if (s != 'reload') {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue