Having tried what feels like everything, including the following, I can't find a way of disabling the edit icon based on a condition.
<a asp-action="Edit" asp-route-id="@item.Id" disabled="@ViewBag.status">
<i class="fas fa-edit disabled" style="color:darkolivegreen" title="Edit Bundle" disabled="@ViewBag.status"></i>
</a>
tag so it is being set.
– A Cameron Sep 30 '22 at 13:56