Form load - initial input focus

Hello Radzen Team,
Is it possible to set the initial control with input focus when a form is loaded (using Angular version)?

Yes, here is an example with UserName field in Edit Order page form:

setTimeout(() => { document.getElementById('UserName').focus(); }, 100)

1 Like

Thanks, @enchev, It works great.

Do you have a soluton for this for Radzen Blazor?


Check this thread for more info how to execute arbitrary JavaScript:

1 Like