Skip to content

Commit 95f288e

Browse files
committed
fix(input): stop hostbinding destroying other classes
1 parent 020a017 commit 95f288e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/input/input.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ import { Directive, HostBinding } from "@angular/core";
1515
selector: "[ibmText]"
1616
})
1717
export class TextInput {
18-
@HostBinding("class") inputClass = "bx--text-input";
18+
@HostBinding("class.bx--text-input") inputClass = true;
1919
}

0 commit comments

Comments
 (0)