Hi Radzen team,
I've encountered an issue with how focus is handled in dialogs. From what I understand, the dialog should automatically focus the first focusable element, which works as expected in some cases, but not in others.
For example, with this setup:
<RadzenTextBox />
<RadzenHtmlEditor />
The focus correctly goes to the RadzenTextBox when the dialog opens.
However, when wrapping the components in RadzenFormField like so:
<RadzenFormField Text="TextBox">
<RadzenTextBox />
</RadzenFormField>
<RadzenFormField Text="Html">
<RadzenHtmlEditor />
</RadzenFormField>
The dialog consistently focuses the RadzenHtmlEditor, even if it appears after the RadzenTextBox. This behavior isn't ideal, as it should prioritize the first focusable element regardless of layout wrappers.
Is there any chance this could be addressed in a future update?
I'm still new to Blazor and not quite ready to submit pull requests myself, but I wanted to bring this to your attention.
Thanks for your time and for all your work on Radzen!