Combobox with no default item selected during init

Posted by: liju.varghese on 1 February 2018, 5:30 am EST

    • Post Options:
    • Link

    Posted 1 February 2018, 5:30 am EST

    Hello team,

    I recently upgraded wijmo for our AngularJS application from version 5.20161.154 to 5.20172.334.

    After this i see that all the wijmo dropdowns throughout the application that were earlier initializing with no default values selected are now appearing with the first item in dropdown selected by default.

    I see there is a solution provided in https://www.grapecity.com/en/forums/wijmo/combobox-with-no-automatic_1 but i do not want to go into each and every controller and set this code for each dropdown in the whole app. Is there a generic way to do this since it was working as desired with older version. Not sure what changed with the upgrade in order to change this behavior.

    Please help.

    thanks,

    Liju

  • Posted 1 February 2018, 8:48 pm EST

    Hi Liju,

    You may bind all the ComboBox with collectionView. And set teh CurrentItem to null. Please refer to the following fiddle for the same:

    http://jsfiddle.net/rxaak27r/20/

    ~Manish

  • Posted 2 February 2018, 2:03 am EST

    Thank you! Manish.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels