Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1170
Igcombo selected item need to assign manually
posted

Observable is not getting populated when igcombo rendered first time. See selected actor is empty is this fiddle example http://jsfiddle.net/manishdalal2/9mka5qjp/ . Also same issue when you remove element from combo.

Parents
No Data
Reply
  • 2680
    Offline posted

    Hello Dalal,

    Thank you for your patience.

    Please take a look at the working sample from our website: http://jsfiddle.net/egazzbg9/.

    and this line:

    this.selectedActor = ko.observableArray([self.actors()[0].id]);

    This is the correct actor initiliziation when you have a combo in dropdown mode.

    I cannot reproduce the issue you mentioned when you remove an element. Could you elaborate further on that?

    I am looking forward to hearing from you.

Children
No Data