mirror of
https://github.com/radzenhq/radzen-blazor.git
synced 2026-07-08 18:16:08 +00:00
Merge pull request #2583 from maxueljunior/master
fixed when FormField start with Visible equals false
This commit is contained in:
@@ -6260,7 +6260,7 @@ Radzen.scrollElementTo = (scrollable, left, top) => {
|
||||
scrollable.scrollTo({ top: top, left: left });
|
||||
};
|
||||
Radzen.createFormField = function(el) {
|
||||
if (!el) return null;
|
||||
if (!el || typeof el.addEventListener !== 'function') return null;
|
||||
function onFocusIn() { el.classList.add('rz-state-focused'); }
|
||||
function onFocusOut() { el.classList.remove('rz-state-focused'); }
|
||||
el.addEventListener('focusin', onFocusIn);
|
||||
|
||||
Reference in New Issue
Block a user