1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    11
    Vote Rating
    0
    michaelmld08 is on a distinguished road

      0  

    Default Answered: change my form to be editable

    Answered: change my form to be editable


    Hi guys, I have a form with data in it that is read only, in the form I have a button that should allow the user to edit the data. My approach was when i click the button, the controller sets the default read only to false, and the button does do this, but the data on the view stil shows that it is read only. Am i taking the wrong approach? Whenever i console.dir i see that the default read only is getting set to false, but nothing changes :/ .

  2. query for all input fields via ComponentQuery and loop through the results and call enable();

  3. #2
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,360
    Answers
    102
    Vote Rating
    81
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      1  

    Default


    query for all input fields via ComponentQuery and loop through the results and call enable();

Thread Participants: 1

Tags for this Thread