Skip to content

Commit 6ce9bcc

Browse files
committed
Update hostbinding class
1 parent a4841e8 commit 6ce9bcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/input/label.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export class LabelComponent implements AfterContentInit {
5757
*/
5858
@Input() labelState: "success" | "warning" | "error" | "" = "";
5959

60-
@HostBinding("class") class = "bx--form-item";
60+
@HostBinding("class.bx--form-item") labelComponentClass = true;
6161

6262
/**
6363
* Creates an instance of LabelComponent.

0 commit comments

Comments
 (0)