Skip to content

Commit 2ecca18

Browse files
committed
Merge branch 'master' of github.com:IBM/carbon-components-angular into combobox
2 parents 56bdfed + 12f16a5 commit 2ecca18

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
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
}

src/modal/alert-modal.interface.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,16 @@ export interface ModalButton {
5656
* Display value of the button
5757
*/
5858
text: string;
59+
/**
60+
* Optional unique ID for the button
61+
*/
62+
id?: string;
5963
/**
6064
* Button type
6165
*/
62-
type: ModalButtonType;
66+
type?: ModalButtonType;
6367
/**
6468
* Callback for the button `click` event
6569
*/
66-
click: Function;
70+
click?: Function;
6771
}

0 commit comments

Comments
 (0)