How to disable a button more elegantly April 4, 2024 by Tarik Try this: <button type="submit" disabled="@(!item.PMApproved)"></button>