image: ensure default value is a string

This commit is contained in:
jean-emmanuel 2026-09-08 16:36:09 +02:00
parent 3263cf2ff1
commit 000714d22b

View file

@ -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') {