Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-9519 in 4.2.1.883.
  1. #1
    Ext JS Premium Member cabal's Avatar
    Join Date
    Mar 2009
    Location
    Warsaw, Poland
    Posts
    23
    Vote Rating
    1
    cabal is on a distinguished road

      0  

    Default [4.2.0 GA] Invalid checkbox disappears

    [4.2.0 GA] Invalid checkbox disappears


    REQUIRED INFORMATION
    Ext version tested:
    • Ext 4.2.0 GA
    • Ext 4.2.1.760
    Browser versions tested against:
    • FF20
    DOCTYPE tested against:
    • HTML 4.01 Transitional
    Description:
    • When checkbox (input type=button with background) is in invalid state (for example: markInvalid), it disappears.
    Steps to reproduce the problem:
    • create checkbox
    • make it invalid
    The result that was expected:
    • exclamation sign on left, checkbox visible
    The result that occurs instead:
    • error mark is ok, but checkbox changes background image and it is not visible
    • in neptune theme it's ok
    Test Case:
    Add following item to dynamic form example
    Code:
    {
         fieldLabel: 'Checkbox',
         listeners: {
             render: function(box) {
                 box.markInvalid('Checkbox is hidden');
             }
         },
         xtype: 'checkbox'
    }
    Possible fix:

    The reason is input.x-form-invalid-field css class that changes the background image.
    • check the difference in neptune and apply it to classic and apply it OR
    • mark x-form-checkbox background as important (dirty) OR
    • change default invalidCls for checkbox (as I did)
    Additional CSS used:
    • only default ext-all-gray.css
    Last edited by slemmon; 17 Apr 2013 at 7:32 AM. Reason: Also tested in 4.2.1.760

  2. #2
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,042
    Vote Rating
    214
    slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of

      0  

    Default


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

Thread Participants: 1