Frontmatter
| id | 7146 |
| title | Fix Conditional Rendering and Add Tests |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Jul 31, 2025, 4:56 PM |
| updatedAt | Jul 31, 2025, 4:58 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7146 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | 7130 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jul 31, 2025, 4:58 PM |
Description: Ensured that falsy values (e.g.,
false,null,undefined) in template interpolations do not render any output, which is the correct and expected behavior for conditional rendering. Added a new test case totest/siesta/tests/functional/HtmlTemplateComponent.mjsto verify this functionality by toggling a conditional element and asserting its presence and absence in the VDOM.