Results 1 to 2 of 2

Thread: [PR3] Ext.form.Panel defines cls instead of baseCls in config

    Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-1310 in a recent build.
  1. #1
    Ext JS Premium Member
    Join Date
    Apr 2010
    Location
    Omaha, NE
    Posts
    631
    Vote Rating
    41
      0  

    Default [PR3] Ext.form.Panel defines cls instead of baseCls in config

    I added my own cls to a form and couldn't figure out why the baseCls was being blown away. Looking at the source code reveals that Ext.form.Panel is defining cls instead of baseCls

    Ext.form.Panel

    Code:
        config: {        // @inherit        cls: Ext.baseCSSPrefix + 'form',
    Other classes like Ext.Panel use baseCls

    Code:
        config: {        baseCls: Ext.baseCSSPrefix + 'panel',

    Ext.form.Panel source code

    http://docs.sencha.com/touch/2-0/sou...Ext-form-Panel

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,029
    Vote Rating
    1368
      0  

    Default

    Thank you for the report.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Posting Permissions

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