Results 1 to 8 of 8

Thread: TriggerWrapCls property is not being added to the combobox

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User marcusvar's Avatar
    Join Date
    Feb 2010
    Location
    Porto Alegre - RS - Brazil
    Posts
    15

    Default TriggerWrapCls property is not being added to the combobox

    The default is Ext.baseCSSPrefix + 'form-trigger-wrap', but I created my own class as the name x-form-trigger-wrap2 and replaces the triggerWrapCls property and nothing changed.


    What can it be?



    https://fiddle.sencha.com/#fiddle/4cu
    Last edited by Gary Schlosberg; 19 Mar 2014 at 4:49 PM. Reason: add test fiddle

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Difficult to say what the problem might be. Can you post some of your code?

  3. #3
    Sencha User marcusvar's Avatar
    Join Date
    Feb 2010
    Location
    Porto Alegre - RS - Brazil
    Posts
    15

    Default

    I posted a simple code on the link below:

    http://jsfiddle.net/marcusvar/3AmfB/

  4. #4
    Sencha User marcusvar's Avatar
    Join Date
    Feb 2010
    Location
    Porto Alegre - RS - Brazil
    Posts
    15

    Default

    Hi Gary


    Managed to identify some problem?

    If you have not been able to access the code via link follows below:

    PHP Code:
    CSS

    .x-form-trigger-wrap2{
        
    border0px solid;

    PHP Code:
    Ext.create('Ext.form.field.ComboBox', {
       
    fieldLabel'Trigger Wrap Cls test',
        
    store: {
            
    fields: [
                
    'text'],
            
    data: [{
                
    text'Option 1'
            
    }, {
                
    text'Option 2'
            
    }, {
                
    text'Option 3'
            
    }]
        },
        
    labelWidth150,
        
    queryMode'local',
        
    displayField'text',
        
    triggerWrapCls'x-form-trigger-wrap2',
        
    renderToExt.getBody()
    }); 

  5. #5
    Sencha User
    Join Date
    Nov 2013
    Location
    Chennai
    Posts
    15

    Default Hi marcusvar,

    I also not able to apply my CSS using triggerWrapCls. Do you managed get any workaround for this? or still having the problem. I am using Extjs 4.2.2 version and its working fine with Extjs 4.0.7.

    Thanks In Advance!!!!

  6. #6
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Thanks for all of the information -- I see it now. Seems like a bug to me. Moving this thread from Ext: Discussion.

  7. #7
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

  8. #8
    Sencha User marcusvar's Avatar
    Join Date
    Feb 2010
    Location
    Porto Alegre - RS - Brazil
    Posts
    15

    Default

    OK Gary,

    Thanks for the feedback.

    Marcus

Posting Permissions

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