Skip to content

Commit a25a8ec

Browse files
authored
Merge pull request #183 from cal-smith/input
fix(input): stop hostbinding destroying other classes
2 parents b031235 + 95f288e commit a25a8ec

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)