PDA

View Full Version : [CLOSED] maskDisabled for fieldset does not work properly



Joanne
16 Jul 2010, 3:35 PM
In the property list of a fieldset:
1. If
disable: true , then the fieldset is properly disabled with a mask on it.
2. Since I don't want the mask, so I used
disabled: true, maskDisabled: false . Then the mask disappears, but the fieldset is NOT DISABLED!

A fast response to fix this bug would be greatly appreciated.

Condor
17 Jul 2010, 8:03 AM
Even with the fancy look, all Ext components remain HTML. You can mask the fieldset or disable all input elements inside, but you can't disable a fieldset.

I suggest you keep the mask, but adjust the css to make the opacity zero.

Joanne
19 Jul 2010, 3:17 PM
Thank you for the suggestion, Condor! Adjusting opacity to zero helps to make the mask invisible. But I also want the fields in the fieldset to gray out as other normal fields do when they are disabled. Any ideas would be appreciated.



Even with the fancy look, all Ext components remain HTML. You can mask the fieldset or disable all input elements inside, but you can't disable a fieldset.

I suggest you keep the mask, but adjust the css to make the opacity zero.

Condor
19 Jul 2010, 10:48 PM
Disabling a fieldset already adds the x-item-disabled class, which makes the inner components look grayed.