Results 1 to 2 of 2

Thread: ComboBox shadow/loadingText property causes warning/error in compat-mode

    You found a bug! We've classified it as a bug in our system. We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Apr 2011
    Vote Rating

    Default ComboBox shadow/loadingText property causes warning/error in compat-mode

    Hi there,

    my compat mode says "[DEPRECATED][4.0][Ext.form.field.ComboBox] shadow (config): Use listConfig.shadow instead." when i am trying to create a ComboBox. i've done a little investigator work because i am not using this shadow-thing in my config so i was wondering where does it comes from.

    I figured out that this shadow-thing comes from "Ext.define('Ext.util.Floating'..." (ext-all-debug).
    You can find this member variable directly in Ext.form.field.ComboBox but the compat mode wants it to be in ComboBox.listConfig.shadow. So the compat-mode copies the member variable to listConfig and deletes the other.

    So is this a bug?

    The other warning/error comes from ext-lang-de.js where the loadingText-property is also apply to ComboBox. compat-mode wants it to be in listConfig.loadingText.

    A bug too?


  2. #2
    Sencha User mberrie's Avatar
    Join Date
    Feb 2011
    Bangkok, Thailand
    Vote Rating


    "[DEPRECATED][4.0][Ext.form.field.ComboBox] shadow (config): Use listConfig.shadow instead."
    This has been mentioned on the migration thread before. It is confusing but not harmful Once you remove the compatibility layer you are fine.

    If the message annoys you, consider commenting out this line in compat.js

    remapToListConfig('shadow', 'shadow');

Posting Permissions

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