Hi Jaap van Vliet,
Greetings from Syncfusion support.
As per Dialog component behavior, we will manually invoke click action to primary button, which is rendered inside the footer section, when dialog contains focusable element in content section. You can prevent the default behavior using Dialog Opened event argument by passing true as value to PreventFocus property as follows
|
<SfDialog>
<DialogEvents Opened="@DialogOpened"></DialogEvents>
</SfDialog>
@code {
private void DialogOpened(OpenEventArgs args)
{
args.PreventFocus = true;
}
}
|
We have modified your sample with above changes, get it from below link
Regards,
Pandiyaraj