1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    253
    Vote Rating
    0
    ci11111 is on a distinguished road

      0  

    Default ux.form.MultiSelect

    ux.form.MultiSelect


    after doing a clearValue(), there are errors , and getValue() will not work anymore

    is seems the bounlist has (after doing clearValue) an extra param, that is part of the selection, and make this bug happen

    Edit1: sorry it's not a bug, I had changed the file ux/form/multiselect to be configurable as singleselelect also,
    multiSelect: false,
    singleSelect: false,

    line 186

    The bug after clearing values, only appear with those settings

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,629
    Vote Rating
    817
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    So you set both multiSelect and singleSelect to false on the BoundList?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    253
    Vote Rating
    0
    ci11111 is on a distinguished road

      0  

    Default


    well I don't know, tried both, and didn't change anything

    the thing is when I create a multiselect with multiSelect: false,
    I can't put empty value param, or clearValue(), there are errors such as

    Uncaught TypeError: Cannot call method 'replace' of undefined ext_all.js:15

Thread Participants: 1