diff --git a/Enciphered.Blazor.UIComponents/wwwroot/js/forms.js b/Enciphered.Blazor.UIComponents/wwwroot/js/forms.js index bdc4f9b..87f9afb 100644 --- a/Enciphered.Blazor.UIComponents/wwwroot/js/forms.js +++ b/Enciphered.Blazor.UIComponents/wwwroot/js/forms.js @@ -595,7 +595,7 @@ export function init() { syncValidationStyling(); }); - document.addEventListener('blazor:enhanced-load', () => { + window.Blazor.addEventListener('enhancedload', () => { initComponents(); if (typeof htmx !== 'undefined') htmx.process(document.body); });