1. #1
    Sencha Premium Member
    Join Date
    Jun 2009
    Posts
    6
    Vote Rating
    0
    hellofornow is on a distinguished road

      0  

    Exclamation FormPanel.disable() has awkward side effects

    FormPanel.disable() has awkward side effects


    When a user submit a form that contains a FileUploadField, I decided to disable the entire form so that they couldn't change any values while the upload was happening.

    This caused a horrible side effect -- it made the form not submit any values but the FileUploadField itself..

    None of my Hidden or TextField values were being sent .. this took me (no joke) 8 hours to solve .. I drank a lot of coffee b/c of this

    edit: I resorted to masking the form instead of disabling it -- not quite as pretty, but it'll do.

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,966
    Vote Rating
    130
    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


    Disabled items wont be submitted. I will add a change so that fileuploadfield wont get commited either to one of the next releases.

Thread Participants: 1

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