Results 1 to 3 of 3

Thread: DisplayField in Combobox is flagged as private

Hybrid View

Previous Post Previous Post   Next Post Next Post
  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

  3. #3
    Sencha Premium User
    Join Date
    Jan 1970
    Posts
    3

    Default

    Quote Originally Posted by jratcliff View Post
    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.
    I'd get into trouble if I needed more than a month to find a certain colleague.
    I'd also get into trouble if a new version came out 6 days ago and this bug was still not fixed nor reported.

    Must be a relaxed working atmosphere..

Posting Permissions

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