Results 1 to 2 of 2

Thread: Handler when filefield file is loaded

  1. #1
    Sencha Premium Member
    Join Date
    Jan 2016

    Default Handler when filefield file is loaded

    Hi, I'm trying to trigger a callback when user picks a file in an Ext.form.field.File.

    Having a listener on the 'change' event is half the battle ... that works the first time the user selects a file, but if the user tries to select the same file again, the field does not change, so the change callback is not invoked.

    I tried putting a handler on the trigger button, but it appears that at the time the handler is invoked, the file has not yet been loaded into the form.

  2. #2
    Sencha User
    Join Date
    Feb 2013


    I don't know of any events that will help here. You'd have to do something on the button, as you've found, but I'm not sure this is possible.

Similar Threads

  1. Replies: 1
    Last Post: 5 Sep 2013, 3:23 PM
  2. Replies: 5
    Last Post: 4 Sep 2013, 12:52 AM

Tags for this Thread

Posting Permissions

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