Declined
Last Updated: 23 Feb 2023 08:41 by ADMIN
Daniel
Created on: 16 Feb 2023 13:47
Category: UI for Blazor
Type: Feature Request
1
Default ButtonType should not be SUBMIT but BUTTON

The default `ButtonType` looks for any matching form and triggers validation and submission of the form.
This can very quickly lead to unintended behaviour.

The default should be a regular button that does not invoke any additional functions.

1 comment
ADMIN
Nadezhda Tacheva
Posted on: 23 Feb 2023 08:41

Hello Daniel,

The Telerik Button generally follows the HTML standard for the button type property. As the default button type is "submit", changing that in the Telerik Button will contradict this standard.

However, we have exposed a ButtonType property of the Telerik Button which you can use to set the desired button type.

Regards,
Nadezhda Tacheva
Progress Telerik

Learn about the important changes coming in UI for Blazor 4.0 in January 2023!