I need to show the selected value while loading the page. How it is possible using your angular control. For ex. I have combobox to select language. Out of combobox options, while loading the page I need to show one language by default.
Hello Shailesh,
The value of the igxCombo actually represents a list of the combo’s selected items. If you need to set the value to equal particular value of your data you need to add this item to the selected items. Nice place to do this is in AfterViewInit event of your component, where igxCombo is placed. You may use code like this:
ngAfterViewInit(): void { this.igxCombo.selectItems([this.items[0]]); }
Please let me know if any additional questions on this matter arise.
Thank you..Similar feature I need in Radiogroup also..Can you please