modify ActionLink to use a link rather than button for disabled scenario

This commit is contained in:
sbwalker 2024-02-22 16:34:52 -05:00
parent a3b0c351d0
commit cdfae2e8cb

View File

@ -8,7 +8,7 @@
{ {
if (Disabled) if (Disabled)
{ {
<button type="button" class="@_classname" style="@_style" disabled>@((MarkupString)_iconSpan) @_text</button> <NavLink class="@($"{_classname} disabled")" href="@_url" style="@_style">@((MarkupString)_iconSpan) @_text</NavLink>
} }
else else
{ {