Currently, I am integrating a Vaadin combo box into an Angular 2 application.
Within my HTML code, I have the following:
<div class="col-lg-6">
<vaadin-combo-box [(value)]="storecard1" label="Store Code" [items]="concept" item-label-path="MAP_Code"></vaadin-combo-box>
</div>
Additionally, in my component file, I have the following code stored as a string:
constructor(
this._httpprovider.httpReq('http://192.168.1.40:5000/getdataemp','POST',{cardno:newValue},null).subscribe((data)=>{
var rData = [];
for (let i=0;i<data.length;i++){
rData.push(data[i]);
}
var store = rData.map(i=>(i.Store_ID)).toString();
this.storecard1 = store; << This specific part is not displaying the value in the combo box, leaving it empty.
});
)
However, despite implementing these changes, the functionality does not seem to be working in the UI. There are no visible alterations being made.