-
Notifications
You must be signed in to change notification settings - Fork 0
itemTextField
Evgenii Koriakin edited this page Jul 21, 2016
·
6 revisions
The field of the data item that provides the text content of the list items. The component will filter the data based on this field.
Value: ''
Type: String
Sets itemTextField
field:
HTML:
<eq-combo-box #fabricsComboBox
[itemTextField]="'name'">
</eq-combo-box>
TypeScript:
export class AppComponent {
@ViewChild('fabricsComboBox') fabricsComboBox: EqwadComboBox;
}
Gets itemTextField
field:
HTML:
<eq-combo-box #fabricsComboBox
[itemTextField]="'name'">
</eq-combo-box>
TypeScript:
export class AppComponent {
@ViewChild('fabricsComboBox') fabricsComboBox: EqwadComboBox;
constructor() {
setTimeout(() => {
let itemTextField = this.fabricsComboBox.itemTextField;
}, 1000);
}
}