Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    2
    Vote Rating
    0
    anoble is on a distinguished road

      0  

    Default Some config fields not retaining changes

    Some config fields not retaining changes


    I am working my way through the Expense Report tutorial and I am having troubles adding some configuration changes. When I try adding an array to the 'options' config and then click 'Enter' I get a new line rather than saving the info. I also tried moving to a different config parameter but find that the 'options' field then becomes empty. This also occurs with the 'style' config option. Am I missing something or is this a bug?

    Thanks,

    Adrian

  2. #2
    Sencha User
    Join Date
    Jun 2011
    Posts
    350
    Vote Rating
    0
    bharatn is on a distinguished road

      0  

    Default


    After you are done entering data, try clicking on another field or use tab. Agree the usability of this editor could be improved.

  3. #3
    Sencha User
    Join Date
    Oct 2011
    Posts
    2
    Vote Rating
    0
    anoble is on a distinguished road

      0  

    Default


    I have tried both those things and it is still not saving the value. My specific problem is with a Select Field on a form. The Ext.field.Select 'options' configuration does not allow you to place text e.g.. [{text:"Uncategorized",value:null},{text:"Lodging",value:"lodging"},{text:"Transportation",value:"transportation"},{text:"Food/
    Drink",value:"food"}]

    and then save it.

  4. #4
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,189
    Vote Rating
    63
    aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice

      0  

    Default


    anoble -

    I just tested this with the above set of options as you pasted and it worked fine.

    The only thing that I needed to adjust was the carriage return in between "Food/" and "Drink". This makes what you pasted an invalid object literal.
    Aaron Conran
    @aconran
    Sencha Architect Development Team