Looks like we cannot reproduce this. Please provide another test case to reproduce this issue.
  1. #1
    Sencha Premium Member
    Join Date
    Mar 2012
    Posts
    80
    Vote Rating
    0
    scottd is on a distinguished road

      0  

    Default Picker's displayField is not set correctly in generated code

    Picker's displayField is not set correctly in generated code


    1) Create an Ext.field.Select
    2) Create model/store and properly associate the store with the picker
    3) Set the 'displayField' value
    4) Switch to Code view
    5) Note that the displayField has been set WITHOUT single quotes around it, causing the code to fail at runtime

    Attached image shows the effect of setting location as the displayField in my picker. Note that the code view has location without single quotes.
    Attached Images

  2. #2
    Sencha - Architect Dev Team jjohnston's Avatar
    Join Date
    Sep 2010
    Posts
    284
    Vote Rating
    5
    jjohnston will become famous soon enough

      0  

    Default


    Thanks for reporting this, I'm opening a bug ticket to get it fixed.

    In the meantime, try adding the quotes in the value manually.
    Jason Johnston
    @lojjic
    Sencha Architect Development Team

  3. #3
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,185
    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


    Thanks for the bug report, this has been addressed.
    Aaron Conran
    @aconran
    Sencha Architect Development Team