diff --git a/packages/pluggableWidgets/html-element-web/CHANGELOG.md b/packages/pluggableWidgets/html-element-web/CHANGELOG.md
index 7e41f87bd4..669918e9d1 100644
--- a/packages/pluggableWidgets/html-element-web/CHANGELOG.md
+++ b/packages/pluggableWidgets/html-element-web/CHANGELOG.md
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [Unreleased]
+## [1.2.3] - 2025-11-05
+
+### Fixed
+
+- Fixed the React unique key prop error when widget is used as non-repeated element
+
## [1.2.2] - 2025-03-14
### Security
diff --git a/packages/pluggableWidgets/html-element-web/package.json b/packages/pluggableWidgets/html-element-web/package.json
index f62b156e95..8d023a12df 100644
--- a/packages/pluggableWidgets/html-element-web/package.json
+++ b/packages/pluggableWidgets/html-element-web/package.json
@@ -1,7 +1,7 @@
{
"name": "@mendix/html-element-web",
"widgetName": "HTMLElement",
- "version": "1.2.2",
+ "version": "1.2.3",
"description": "Displays custom HTML",
"copyright": "© Mendix Technology BV 2025. All rights reserved.",
"license": "Apache-2.0",
diff --git a/packages/pluggableWidgets/html-element-web/src/HTMLElement.tsx b/packages/pluggableWidgets/html-element-web/src/HTMLElement.tsx
index 10b5874968..70ad343d44 100644
--- a/packages/pluggableWidgets/html-element-web/src/HTMLElement.tsx
+++ b/packages/pluggableWidgets/html-element-web/src/HTMLElement.tsx
@@ -22,9 +22,9 @@ export function HTMLElement(props: HTMLElementContainerProps): ReactElement | nu
return (
- {items.map(item => (
+ {items.map((item, index) => (
{
});
it("with innerHTML apply html sanitizing", () => {
- const checkSapshot = (html: string): void => {
+ const checkSnapshot = (html: string): void => {
expect(
render(
{
).toMatchSnapshot();
};
- checkSapshot("Lorem ipsum
");
- checkSapshot("
");
- checkSapshot(`ok`);
- checkSapshot("123