diff --git a/src/MatBlazor/Components/MatIconButton/BaseMatIconButton.cs b/src/MatBlazor/Components/MatIconButton/BaseMatIconButton.cs index f4ff38f5..e803a01a 100644 --- a/src/MatBlazor/Components/MatIconButton/BaseMatIconButton.cs +++ b/src/MatBlazor/Components/MatIconButton/BaseMatIconButton.cs @@ -48,6 +48,13 @@ public bool Toggled [Parameter] public EventCallback ToggledChanged { get; set; } + /// + /// The default behavior of the button. Possible values are: + /// "button", "reset", "submit" + /// + [Parameter] + public string Type { get; set; } + /// /// Navigate to this url when clicked. /// diff --git a/src/MatBlazor/Components/MatIconButton/MatIconButton.razor b/src/MatBlazor/Components/MatIconButton/MatIconButton.razor index 9e926590..5162129c 100644 --- a/src/MatBlazor/Components/MatIconButton/MatIconButton.razor +++ b/src/MatBlazor/Components/MatIconButton/MatIconButton.razor @@ -1,7 +1,7 @@ @namespace MatBlazor @inherits BaseMatIconButton -