1. #121
    Ext User
    Join Date
    Mar 2007
    Posts
    26
    Vote Rating
    0
    MarkB is on a distinguished road

      0  

    Talking


    This makes me very happy ...

  2. #122
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,232
    Vote Rating
    2
    mystix will become famous soon enough

      0  

    Default


    Quote Originally Posted by MarkB View Post
    This makes me very happy ...
    quick, buy him a beer.

  3. #123
    Ext JS Premium Member
    Join Date
    May 2007
    Posts
    698
    Vote Rating
    3
    danh2000 is on a distinguished road

      0  

    Default


    Quote Originally Posted by mystix View Post
    quick, buy him a beer.
    I'll need a beer when I've finished this.

    Quote Originally Posted by MarkB View Post
    This makes me very happy ...
    Then I may PM you if you fancy helping with some private early beta testing...?

  4. #124
    Sencha User swarnendude's Avatar
    Join Date
    Jul 2009
    Location
    Kolkata, India
    Posts
    117
    Vote Rating
    0
    swarnendude is on a distinguished road

      0  

    Default


    Awesome work man!! Thank you very much for sharing!!

  5. #125
    Ext User
    Join Date
    Aug 2009
    Posts
    15
    Vote Rating
    0
    nadim is on a distinguished road

      0  

    Default issue with myform.getValues()

    issue with myform.getValues()


    I am using a few of these superboxselects inside a fieldset within a form.

    When I add items and run getValues() everything works as expected. When I remove items, the removed items still show up in getValues. Any suggestions?

    -N

  6. #126
    Ext User
    Join Date
    Aug 2009
    Posts
    15
    Vote Rating
    0
    nadim is on a distinguished road

      0  

    Default example use

    example use


    Here is how I am using it:

    var wdCombo = new Ext.ux.form.SuperBoxSelect({
    id: 'wd',
    displayField: 'description',
    emptyText: '(All...)',
    fieldLabel: 'wd',
    name: 'wd',
    mode: 'local',
    store: jsonwdStore,
    triggerAction: 'all',
    valueField: 'pk',
    width: 213,
    listeners: {
    additem: a_func,
    removeitem: a_func
    }

    both a_func is the same function and called for both events. When I remove something, a_func calls getValues() and still sees old values present in the list.

  7. #127
    Ext JS Premium Member
    Join Date
    May 2007
    Posts
    698
    Vote Rating
    3
    danh2000 is on a distinguished road

      0  

    Default


    Hi Nadim,

    I've just tested this and everything works as expected using Ext 2.2.1 - Ext 3.0.1

    When did you download the SBS component - is it possible that you have an old version of the code that has since been fixed?

    If you are still having issues, please post an isolated test case that I can copy and paste, and some instructions about how to re-produce the error. Also please let me know the browsers tested and the version of Ext you are using.

    Thanks,

    Dan

  8. #128
    Ext User
    Join Date
    Aug 2009
    Posts
    15
    Vote Rating
    0
    nadim is on a distinguished road

      0  

    Default


    I downloaded it within the last week, i'm working on isolating it right now. If I find the problem on my own I will post back here.

    -N

  9. #129
    Ext JS Premium Member
    Join Date
    May 2007
    Posts
    698
    Vote Rating
    3
    danh2000 is on a distinguished road

      0  

    Default


    Here's what I just tried:

    PHP Code:
    removeitem: function(sbs,v){
        
    console.log(sbs.getValue());

    I'd like to know what your listener looks like - I'll take a look when you post a test case.

    Thanks.

  10. #130
    Ext JS Premium Member
    Join Date
    May 2007
    Posts
    698
    Vote Rating
    3
    danh2000 is on a distinguished road

      0  

    Default


    I've found a problem when using BasicForm.getValues() in the listener - I guess you were using this too?

    If this is the case, don't worry about the test case.