1. #21
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    combo2 resets to the orginal value, which is "name 2"

  2. #22
    Ext User fother's Avatar
    Join Date
    Sep 2007
    Location
    Brazil
    Posts
    744
    Vote Rating
    -1
    fother is an unknown quantity at this point

      0  

    Default


    hmmm...

    in Field.java I see

    Code:
    originalValue = value;
    but I need reset this value to null..

    this is the better soluction?

    Code:
    		combo1.addListener(Events.Select, new Listener<BaseEvent>() {
    
    			public void handleEvent(BaseEvent be) {
    
    				combo2.setValue(null);
    				combo2.clearInvalid();
    			}
    
    		});

  3. #23
    Ext User fother's Avatar
    Join Date
    Sep 2007
    Location
    Brazil
    Posts
    744
    Vote Rating
    -1
    fother is an unknown quantity at this point

      0  

    Default


    I think that the original value.. should be set int setOriginalValue..

  4. #24
    Sencha Premium Member
    Join Date
    Apr 2009
    Posts
    110
    Vote Rating
    0
    Chods is on a distinguished road

      0  

    Default


    "whole" issue

Thread Participants: 3