Results 1 to 3 of 3

Thread: Picker's displayField is not set correctly in generated code

    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
    83
    Vote Rating
    1
      0  

    Default 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 Attached Images

  2. #2
    Sencha User jjohnston's Avatar
    Join Date
    Sep 2010
    Posts
    567
    Vote Rating
    21
      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 User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,487
    Vote Rating
    145
      0  

    Default

    Thanks for the bug report, this has been addressed.
    Aaron Conran
    @aconran

Posting Permissions

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