Page 3 of 3 FirstFirst 123
Results 21 to 24 of 24

Thread: [FIXED] ComboBox issue setValue to hidden field

  1. #21
    Sencha Premium Member
    Join Date
    Sep 2007
    Posts
    13,976
    Vote Rating
    131
      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
    -2
      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
    -2
      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
      0  

    Default

    "whole" issue

Page 3 of 3 FirstFirst 123

Posting Permissions

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