We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2b5feb8 + b7a9286 commit d9e011aCopy full SHA for d9e011a
src/input/label.component.ts
@@ -57,7 +57,10 @@ import { TextArea } from "./text-area.directive";
57
*ngIf="!warn && invalid"
58
ibmIcon="warning--filled"
59
size="16"
60
- class="bx--text-input__invalid-icon bx--text-area__invalid-icon">
+ [ngClass]="{
61
+ 'bx--text-input__invalid-icon': !textArea,
62
+ 'bx--text-area__invalid-icon': textArea
63
+ }">
64
</svg>
65
<svg
66
*ngIf="!invalid && warn"
0 commit comments