clone: regression causing error when some widgets have a non-string id

This commit is contained in:
jean-emmanuel 2026-08-30 16:04:29 +02:00
parent aee968cba9
commit a73e2755dc
3 changed files with 7 additions and 2 deletions

View file

@ -79,7 +79,7 @@ class Clone extends Container() {
var {id, widget} = e
if (id.includes(this.getProp('widgetId')) && this.isValidCloneTarget(widget)) {
if (String(id).includes(this.getProp('widgetId')) && this.isValidCloneTarget(widget)) {
this.getCloneTarget()