How to disable a button on a condition?

[disabled]=“condition”