Hi all,
There is a bug fix for the issue that will be released with the upcoming 4.1.0 version of Telerik Ui for Blazor, which is currently scheduled for 15th March 2023.
Please re-check the scenario when the release is out and inform us if the fix works as expected.
Regards,
Stamo Gochev
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
Hello,
@Sebastiann, it's a good solution, but i have to do it for every Grid in my solution. Do you have a idea how to make it more generic for all Grids in the solution?
Greetings Marcus
I also ran into this issue. There is a workaround fortunately:
function preventGridFormSubmission(/*HTMLElement*/ element) {
try {
for (const button of element.getElementsByTagName('button')) {
button.type = 'button';
}
} catch (e) {
console.warn('app.preventGridFormSubmission: %s', e);
}
}
And:
private ElementReference _gridContainer;
/// <inheritdoc />
protected override async Task OnAfterRenderAsync(bool firstRender) {
await JSRuntime.InvokeVoidAsync("preventGridFormSubmission", _gridContainer);
await base.OnAfterRenderAsync(firstRender);
}
We also have this exact issue after upgrading.
Yea, hope they will fix it quickly.
I experienced the same error today.
Hoping for a fast solution.