SyntaxFix
Write A Post
Hire A Developer
Questions
[attr.disabled]="valid == true ? true : null"
You have to use null to remove attr from html element.
null