https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42150 --- Comment #20 from Arthur Suzuki <arthur.suzuki@biblibre.com> --- Created attachment 196141 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196141&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). Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com> -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.