-
17 Apr 2013 1:02 AM #1
[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
- FF20
- HTML 4.01 Transitional
- When checkbox (input type=button with background) is in invalid state (for example: markInvalid), it disappears.
- create checkbox
- make it invalid
- exclamation sign on left, checkbox visible
- error mark is ok, but checkbox changes background image and it is not visible
- in neptune theme it's ok
Add following item to dynamic form example
Possible fix:Code:{ fieldLabel: 'Checkbox', listeners: { render: function(box) { box.markInvalid('Checkbox is hidden'); } }, xtype: 'checkbox' }
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)
- 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
-
17 Apr 2013 7:32 AM #2
Thanks for the report! I have opened a bug in our bug tracker.
You found a bug! We've classified it as
EXTJSIV-9519
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.


Reply With Quote