https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42150 --- Comment #2 from Paul Derscheid <paul.derscheid@lmscloud.de> --- Created attachment 195722 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=195722&action=edit Bug 42150: (follow-up) Validate custom element names Reject names that do not conform to the web component spec (lowercase, must contain a hyphen, must start with a letter). This catches typos early with a clear console warning rather than letting them fail silently or throw at customElements.define(). To test: 1. Call registerIsland("InvalidName", { ... }) and verify a warning is logged and registration is rejected. 2. Call registerIsland("no-problem", { ... }) and verify it succeeds. 3. Call registerIsland("123-bad", { ... }) and verify it is rejected (starts with digit). -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.