Results 1 to 3 of 3

Thread: ux.form.MultiSelect

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    253
    Vote Rating
    0
      0  

    Default 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 User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Vote Rating
    1381
      0  

    Default

    So you set both multiSelect and singleSelect to false on the BoundList?
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    253
    Vote Rating
    0
      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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •