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