jQWidgets Forums

jQuery UI Widgets Forums Angular Multi pre Select ComboBox Reply To: Multi pre Select ComboBox

Multi pre Select ComboBox #132599

rmk3200
Participant

You didn’t get my requirement. the source has actual or all values as well. I would like to present as pre selected values which are already saved to my data. This call is an editing info of a record which is already saved with some data. I exactly needed like demo of your pre selected values combo box. But it is not happening because of data is not available when ngAfterInIt called. After ngAfterInIt called data getting triggered and received in ngOnInIt. So we cannot stop ng life cycle until data response in ngOnInIt.

The previous response from you has a example is not suits for ng life cycle. Whatever source/ Set combo will show. But data availability on server call is fully dependent on ngOnInIt. ngAfterInIt never wait until ngOnInIt completely has resolved data. We cannot implement pre selected combo box without data.
When i use same combo box with all source in new record selection will work proper.
Find the image to get understand better.
Issue with pre multi select combo