Question

I am using Foundation for my CSS, and it uses fieldset for form style. I cannot therefore use it on my form to disable my form under certain conditions without pretty much overwrite all the CSS of it (which I actually use in my form for other reasons!)

I tried to apply ng-disabled to the form, div or something else, but nothing worked! What are my options?

Was it helpful?

Solution

The main problem here is that the appearance of the contents of a disabled fieldset (e.g. inputs, buttons etc) depends on their having a disabled fieldset parent. If you remove or replace the fieldset, then the appearance (and behaviour) of your controls won't be very useful (or appealing).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top