Results 1 to 2 of 2

Thread: DisplayField in Combobox is flagged as private

  1. #1
    Sencha Premium Member twasink's Avatar
    Join Date
    Oct 2012
    Location
    Brisbane, Australia
    Posts
    124

    Default DisplayField in Combobox is flagged as private

    Running the Upgrade advisor over a small part of my codebase, I got this warning:

    Usage of private config 'displayField' found for 'Ext.form.field.ComboBox'
    This is for advising going from 6.5.2 to 7.0.0 (the Classic framework)

    The relevant code looks a bit like:

    Code:
    { xtype:'combobox',
      fieldLabel:'Type',
      store: Ext.create('Ext.data.Store',{
        fields:['name'],
        data :[ /*...*/ ]
      }),
      queryMode:'local',
      displayField:'name',
      valueField:'name'
    }
    The problem is that `displayField` is not private in either 6.5.2 or 7.0.0.

  2. #2
    Sencha - Services Team
    Join Date
    Mar 2007
    Location
    Foristell, MO
    Posts
    1,121

    Default

    This is due to a bug in the doxi output falsely reporting that the displayField is private. I'll see if I can find the engineer responsible for this bug to see when it will get fixed.
    Jack Ratcliff
    Sencha Inc, Green bleeding Senchan

    How to report a bug:
    https://www.sencha.com/forum/showthr...o-report-a-bug

Posting Permissions

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