Disable button in angular with two conditions?

asked9 years ago
last updated5 years ago
viewed243.8k times
Up Vote79Down Vote

Is this possible in angular ?

<button type="submit" [disabled]="!validate && !SAForm.valid">Add</button>

I expect that if both of the conditions are true they will enable the button. I've already tried the above code but it's not working as expected.