Fix Et2Widgets could have '.' in their DOM ID, replaced with '-' as before

This commit is contained in:
nathan 2025-01-23 11:07:34 -07:00
parent 2c18e0438a
commit c4ecfd54a5

View File

@ -458,7 +458,7 @@ const Et2WidgetMixin = <T extends Constructor>(superClass : T) =>
{
path.unshift(this.getInstanceManager().uniqueId);
}
path.push(value);
path.push(value.replace(/\./g, '-'));
dom_id = path.join("_");
}
this.setAttribute("id", dom_id);