Success! Looks like we've fixed this one. According to our records the fix was applied for EXTGWT-1894 in a recent build.
  1. #1
    Sencha User PhiLho's Avatar
    Join Date
    Nov 2011
    Location
    Near Paris, France
    Posts
    139
    Vote Rating
    1
    PhiLho is on a distinguished road

      0  

    Default FileUploadField has no events to handle

    FileUploadField has no events to handle


    Unless I missed them, I see no specific events to watch / handle for the FileUploadField component.

    I see it has an internal onChange handler, but it doesn't fire an external event to be caught.
    I would appreciate a SelectEvent or a ChangeEvent to be fired when the user selects a file.

    It is useful eg. to validate a form only when a file is chosen. Currently, I have to check the length of the value of the field in the SelectEvent of the OK button, which isn't elegant. I want to deactivate the button and validate it only when all fields are valid, including the FileUploadField.

  2. #2
    Sencha User WesleyMoy's Avatar
    Join Date
    Oct 2009
    Location
    Redwood City, California
    Posts
    402
    Vote Rating
    2
    WesleyMoy is on a distinguished road

      0  

    Default


    Thanks for the report. I've filed an API review bug against the team. Once we make any chances, I'll update this thread.

  3. #3
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,241
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    FileUploadField now implements HasChangeHandlers. In addition, FileUploadField now supports allowBlank and will show validation errors.

    Changes are in SVN.

  4. #4
    Sencha User WesleyMoy's Avatar
    Join Date
    Oct 2009
    Location
    Redwood City, California
    Posts
    402
    Vote Rating
    2
    WesleyMoy is on a distinguished road

      0  

    Default


    The fix for this bug has been included in the public release of Sencha GXT 3.0.0. You'll be able to observe this change in the GXT source. Although we're confident that this issue has been resolved, please reply here (or start a new bug thread linking to this one) if you continue to notice issues.

Thread Participants: 2

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar