Skip to content

Commit

Permalink
fix(form): correct color on error icon
Browse files Browse the repository at this point in the history
The ClrControlContainer had wrong color on error icon as it sets the icon status to danger. This overrides the forms invalid color set by the form css. Other form containers such as ClrInputContainer don't set it either for this reason.

Close: vmware-clarity#305

Signed-off-by: Ron Birk <rbirk@vmware.com>
  • Loading branch information
rbirk committed Sep 6, 2022
1 parent 086f45b commit e6bf6c4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion projects/angular/src/forms/common/control-container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import { NgControlService } from './providers/ng-control.service';
<cds-icon
*ngIf="showInvalid"
class="clr-validate-icon"
status="danger"
shape="exclamation-circle"
aria-hidden="true"
></cds-icon>
Expand Down

0 comments on commit e6bf6c4

Please sign in to comment.