From d07fe25cdb518b22859513a39101c0fe7c6f18d0 Mon Sep 17 00:00:00 2001 From: Saq Imtiaz Date: Sun, 25 Jan 2026 19:05:46 +0100 Subject: [PATCH] feat: extend fakedom implementation (#9616) * feat: extend fakedom implementation * docs: updated changenote --- core/modules/utils/fakedom.js | 1 + editions/tw5.com/tiddlers/releasenotes/5.4.0/#8093.tid | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/core/modules/utils/fakedom.js b/core/modules/utils/fakedom.js index 764ac84f8..18e0afc88 100755 --- a/core/modules/utils/fakedom.js +++ b/core/modules/utils/fakedom.js @@ -37,6 +37,7 @@ Object.defineProperty(TW_Node.prototype, 'TEXT_NODE', { var TW_TextNode = function(text) { bumpSequenceNumber(this); this.textContent = text + ""; + this.children = []; }; Object.setPrototypeOf(TW_TextNode.prototype,TW_Node.prototype); diff --git a/editions/tw5.com/tiddlers/releasenotes/5.4.0/#8093.tid b/editions/tw5.com/tiddlers/releasenotes/5.4.0/#8093.tid index dc967b013..1e8da3449 100644 --- a/editions/tw5.com/tiddlers/releasenotes/5.4.0/#8093.tid +++ b/editions/tw5.com/tiddlers/releasenotes/5.4.0/#8093.tid @@ -4,7 +4,7 @@ release: 5.4.0 tags: $:/tags/ChangeNote change-type: bugfix change-category: widget -github-links: https://github.com/TiddlyWiki/TiddlyWiki5/issues/8093 -github-contributors: buggyj +github-links: https://github.com/TiddlyWiki/TiddlyWiki5/issues/8093 https://github.com/TiddlyWiki/TiddlyWiki5/pull/9616 +github-contributors: buggyj saqimtiaz Fixed SelectWidget does not work with multiple options organised into group.